author | Josef Weidendorfer <Josef.Weidendorfer@gmx.de> | |
Sun, 27 Nov 2005 21:04:14 +0000 (22:04 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 27 Nov 2005 22:40:28 +0000 (14:40 -0800) | ||
commit | f6bc189a457b2575587f26e27f1eabdd615b2d78 | |
tree | 5d83477de7a407ab0ef183c6676114e1a507cf86 | tree | snapshot |
parent | 3ae64dff6894adc995c913aaf7fe2d65c78c3529 | commit | diff |
git-mv: keep git index consistent with file system on failed rename
When doing multiple renames, and a rename in the middle fails,
git-mv did not store the successful renames in the git index;
this is fixed by delaying the error message on a failed rename
to after the git updating.
Signed-off-by: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
When doing multiple renames, and a rename in the middle fails,
git-mv did not store the successful renames in the git index;
this is fixed by delaying the error message on a failed rename
to after the git updating.
Signed-off-by: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-mv.perl | diff | blob | history |