git-mv: fully detect 'directory moved into itself'
commitca203ee7db708baa278950501f8d01f29c5190be
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Sun, 27 Nov 2005 21:06:42 +0000 (27 22:06 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Nov 2005 22:40:29 +0000 (27 14:40 -0800)
tree5b67c88670a5872520b05d5e2b1fd7fb586e99a1
parentf6bc189a457b2575587f26e27f1eabdd615b2d78
git-mv: fully detect 'directory moved into itself'

This gives a better error message when trying to move a directory
into some subdirectory of itself; ie. no real bug fix: renaming
already failed before, but with a strange "invalid argument".

Signed-off-by: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-mv.perl