]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-stash.sh
git grep: Add "-z/--null" option as in GNU's grep.
[git.git] / git-stash.sh
index 6bd2572f7745cbd35fb59c3449b84f1929d9ab08..42f626f9d555f26f3e50441c0ab27de5cac19bf4 100755 (executable)
@@ -161,7 +161,7 @@ show_stash () {
 apply_stash () {
        git update-index -q --refresh &&
        git diff-files --quiet --ignore-submodules ||
-               die 'Cannot restore on top of a dirty state'
+               die 'Cannot apply to a dirty working tree, please stage your changes'
 
        unstash_index=
        case "$1" in