Code

builtin git-mv: support moving directories
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 26 Jul 2006 17:47:54 +0000 (19:47 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Jul 2006 20:36:36 +0000 (13:36 -0700)
commitac64a722072bb348476a8a029de9a82073e07fba
treec08e699f1bad2304d2d7faf15d95de10e7ee4f65
parent11be42a47632a6f7219d34f5e312aa20ae076142
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>
builtin-mv.c
t/t7001-mv.sh