author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 16 Aug 2006 00:20:32 +0000 (02:20 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 16 Aug 2006 04:00:20 +0000 (21:00 -0700) | ||
commit | 1d6249e609289940dca179b626fe4ae5433c90cc | |
tree | 030ff55edcc9723bac9c9b6f4e286f0d83bda377 | tree | snapshot |
parent | 66c4509b73eeb66de3196a43e3171b3764f74100 | commit | diff |
git-mv: succeed even if source is a prefix of destination
As noted by Fredrik Kuivinen, without this patch, git-mv fails on
git-mv README README-renamed
because "README" is a prefix of "README-renamed".
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
As noted by Fredrik Kuivinen, without this patch, git-mv fails on
git-mv README README-renamed
because "README" is a prefix of "README-renamed".
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 |