author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 26 Jul 2006 17:47:54 +0000 (19:47 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 26 Jul 2006 20:36:36 +0000 (13:36 -0700) | ||
commit | ac64a722072bb348476a8a029de9a82073e07fba | |
tree | c08e699f1bad2304d2d7faf15d95de10e7ee4f65 | tree | snapshot |
parent | 11be42a47632a6f7219d34f5e312aa20ae076142 | commit | diff |
builtin git-mv: support moving directories
This fixes the builtin mv for the test which Josef provided, and also
fixes moving directories into existing directories, as noted by Jon Smirl.
In case the destination exists, fail early (this cannot be overridden
by -f).
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This fixes the builtin mv for the test which Josef provided, and also
fixes moving directories into existing directories, as noted by Jon Smirl.
In case the destination exists, fail early (this cannot be overridden
by -f).
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-mv.c | diff | blob | history | |
t/t7001-mv.sh | diff | blob | history |