From: Duy Nguyen Date: Thu, 07 Aug 2014 02:10:09 GMT Subject: Re: glob escaping doesn't work with git mv Message-ID: In-Reply-To: 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 problem (to me at least). Source path processing in git-mv is a bit complicated and it scared me away from converting to using pathspec (which supports globbing and stuff). But perhaps if I just expand pathspec and feed the final path list to git-mv (pretty much like how shells expand glob) then it probably works.. -- Duy