Previously, git stash drop would fail noisily while executing git reflog delete if the specified revision argument was not a stash reference. Now, git stash drop fails with an error message which more precisely indicates the reason for failure. Signed-off-by: Jon Seymour <jon.seymour@xxxxxxxxx> --- git-stash.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/git-stash.sh b/git-stash.sh index 4f28c09..86cd446 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -379,6 +379,7 @@ drop_stash () { shift fi + assert_stash_ref "$@" assert_stash_like "$@" git reflog delete --updateref --rewrite "$@" && -- 1.6.5.rc3.8.g8ba5e -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html