aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2006-08-16 10:44:02 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-16 13:19:06 -0700
commitd78b0f3d6aa04510dd0c22c3853d3954c5f5b531 (patch)
tree618b9af0d000d177ba1d1bdadd063a41ee429b82 /diff.c
parent53e1a761be8d338cd957870bc1e48a8c15d7d2c0 (diff)
downloadgit-d78b0f3d6aa04510dd0c22c3853d3954c5f5b531.tar.gz
git-d78b0f3d6aa04510dd0c22c3853d3954c5f5b531.tar.xz
[PATCH] git-mv: add more path normalization
We already use the normalization from get_pathspec(), but now we also remove a trailing slash. So, git mv some_path/ into_some_path/ works now. Also, move the "can not move directory into itself" test before the subdirectory expansion. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions