Re: `git mv` has ambiguous error message for non-existing target

2012-11-19 Thread Patrick Lehner
On Sa 17 Nov 2012 20:35:09 CET, Junio C Hamano wrote: Patrick Lehner lehner.patr...@gmx.de writes: But just because mv's error essage isnt very good, does that mean git mv's error message mustn't be better? Did I say the error message from 'mv' was not very good in the message you are

Re: `git mv` has ambiguous error message for non-existing target

2012-11-17 Thread Junio C Hamano
Patrick Lehner lehner.patr...@gmx.de writes: But just because mv's error essage isnt very good, does that mean git mv's error message mustn't be better? Did I say the error message from 'mv' was not very good in the message you are responding to (by the way, this is why you should never

`git mv` has ambiguous error message for non-existing target

2012-11-15 Thread Patrick Lehner
Hey guys, as was brought up on #github today, the git mv command has a bit of a little-helping output message when the target directory (or any intermediate directories) dont exist. To reproduce: - cd into a git repo - assuming filea.txt is an existing file in the CWD, and dirb is neither a

Re: `git mv` has ambiguous error message for non-existing target

2012-11-15 Thread Junio C Hamano
Patrick Lehner lehner.patr...@gmx.de writes: To reproduce: - cd into a git repo - assuming filea.txt is an existing file in the CWD, and dirb is neither a file nor a directory in the CWD, use the command git mv filea.txt dirb/filea.txt - this will produce an error message like `fatal:

Re: `git mv` has ambiguous error message for non-existing target

2012-11-15 Thread Patrick Lehner
But just because mv's error essage isnt very good, does that mean git mv's error message mustn't be better? That would strike me as an odd bit of reasoning. On Fr 16 Nov 2012 02:34:32 CET, Junio C Hamano wrote: Patrick Lehner lehner.patr...@gmx.de writes: To reproduce: - cd into a git repo