Git development
 help / color / mirror / Atom feed
* git mv oddities (minor bugs)
@ 2010-01-15 16:49 Patrick Boettcher
  0 siblings, 0 replies; only message in thread
From: Patrick Boettcher @ 2010-01-15 16:49 UTC (permalink / raw)
  To: git

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-15 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-15 16:49 git mv oddities (minor bugs) Patrick Boettcher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox