author | Jon Seymour <jon.seymour@gmail.com> | |
Tue, 28 Sep 2010 13:19:52 +0000 (23:19 +1000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 29 Sep 2010 17:07:09 +0000 (10:07 -0700) | ||
commit | 57693d03db93959831c9c017953f979aae6cc8eb | |
tree | 4caeb362b25864e84d90cea84028ecf743cb6974 | tree | snapshot |
parent | 835d6a1f9f6f0f6e47cf32238af7ee8b8d048d78 | commit | diff |
stash: fix git stash branch regression when branch creation fails
"git stash branch <branch> <stash>" started discarding the stash
when the branch creation fails. It should have kept the stash
intact when aborting.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"git stash branch <branch> <stash>" started discarding the stash
when the branch creation fails. It should have kept the stash
intact when aborting.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh | diff | blob | history | |
t/t3903-stash.sh | diff | blob | history |