Commit 2a79d2f6 authored by Stephen Haberman's avatar Stephen Haberman Committed by Shawn O. Pearce

Clarify how the user can satisfy stash's 'dirty state' check.

Signed-off-by: default avatarStephen Haberman <[email protected]>
Signed-off-by: default avatarShawn O. Pearce <[email protected]>
parent 41f13af5
......@@ -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'
case "$1" in
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment