Re: glob escaping doesn't work with git mv

2014-08-06 Thread Duy Nguyen
On Thu, Aug 7, 2014 at 8:52 AM, Alan Grover wrote: > Since we can do git add file\*, I tried: > > $ git mv file\* newdir > > I get a 'bad source, source=file* destination=file*' error. It seems > to be looking for a file named 'file*' rather than performing glob > expansion. This is a known probl

glob escaping doesn't work with git mv

2014-08-06 Thread Alan Grover
I tried using escaped globs with git mv, but globs don't seem to be expanded with git mv. So, for example, I've got files file1 & file2, and have been editing them, so I've got file1~ and file2~ also, and *~ is in .gitignore. If I do: $ mkdir newdir $ git mv file* newdir I get a 'fatal: not in