git mv oddities (minor bugs)

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

 



Hi all,

I'm currently using a lot of git mv to clean up some code. This includes renaming of files and moving them to new pathes inside the clone.

Everything's working very fine except two very small things I've encountered:

1) git mv from/file to/subdir/ - subdir does not exists

Instead of git telling me that 'subdir' does not exist it is executing the mv and 'file' is now called 'to/subdir' .

I'm almost sure this is a bug: the trailing / seems to be ignored.

2) git mv from/file to/subdir/new_name - subdir does not exists

Git is telling me the following:
fatal: renaming 'from/file' failed: No such file or directory

This is a little bit misleading as it is 'to/subdir' which is "No such file or directory" .

I'm not sure what to do with this one - changing the error message a little bit might a good idea.

I'm using:

$ git --version
git version 1.6.4.4

I was looking for a bug tracker at git-scm.org - didn't find any. So I'm not sure where to log my findings. How should I continue?

--

Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/
--
To unsubscribe from this list: 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]