diff options
author | Jon Seymour <jon.seymour@gmail.com> | 2010-08-21 14:08:59 +1000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-21 23:51:21 -0700 |
commit | 92e39e44542b34923294fbb45069b8140d19976d (patch) | |
tree | 71c75f4cadf4aaea6b0df158b2ef58984db0bdec /t/t7506-status-submodule.sh | |
parent | detached-stash: simplify stash_apply (diff) | |
download | tgif-92e39e44542b34923294fbb45069b8140d19976d.tar.xz |
detached-stash: simplify stash_drop
Previously, git stash drop would fail noisily while executing git reflog
delete if the specified revision was not a stash reference.
Now, git stash drop fails with an error message which more precisely
indicates the reason for failure.
Furthermore, git stash drop will now fail with a non-zero status code
if stash@{n} specifies a stash log entry that does not actually exist.
This change in behaviour is achieved by delegating argument parsing
to the common parse_flags_and_rev() function (via a call to
assert_stash_ref).
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7506-status-submodule.sh')
0 files changed, 0 insertions, 0 deletions