author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 18 Aug 2006 10:42:39 +0000 (12:42 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 21 Aug 2006 21:15:43 +0000 (14:15 -0700) | ||
commit | c5203bdf66531c848a2b6cd74f3c02cb18286c55 | |
tree | 2e020e22ac6714569a4b2493e724224b07a15d42 | tree | snapshot |
parent | d78b0f3d6aa04510dd0c22c3853d3954c5f5b531 | commit | diff |
git-mv: special case destination "."
Since the normalized basename of "." is "", the check for directory
failed erroneously.
Noticed by Fredrik Kuivinen.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Since the normalized basename of "." is "", the check for directory
failed erroneously.
Noticed by Fredrik Kuivinen.
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 |