Re: [PATCH] Extend testing git-mv for renaming of subdirectories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]