From: Josef Weidendorfer Date: Wed, 26 Jul 2006 16:02:33 GMT Subject: Re: [PATCH] Extend testing git-mv for renaming of subdirectories Message-ID: <200607261802.33757.Josef.Weidendorfer@gmx.de> In-Reply-To: On Wednesday 26 July 2006 17:22, Johannes Schindelin wrote: > > Hmm... Renaming full subtrees worked since the old git-rename days. > > I just checked it, and it works fine. > > Thanks. > > And thanks again: since there is a test now, I'll have to implement that > feature, too, I guess ;-) Sorry about that, but that was the reason for this patch ;-) I think it would be too bad for users to have this as regression. When I first looked at the git-rename script, it wasn't clear to me that moving dirs actually works. The thing is that PERL's "rename" can move subdirectories. And on the git side, it does a grep with the dir name against the list of tracked files, so we catch all tracked files in the subdirectory. Josef