From: Johannes Schindelin Date: Wed, 16 Aug 2006 08:44:02 +0000 (+0200) Subject: [PATCH] git-mv: add more path normalization X-Git-Tag: v1.4.2.1~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d78b0f3d6aa04510dd0c22c3853d3954c5f5b531?ds=sidebyside;hp=d78b0f3d6aa04510dd0c22c3853d3954c5f5b531 [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 Signed-off-by: Junio C Hamano ---