提交 2a79d2f6 编写于 作者: S Stephen Haberman 提交者: Shawn O. Pearce

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

Signed-off-by: NStephen Haberman <stephen@exigencecorp.com>
Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
上级 41f13af5
...@@ -161,7 +161,7 @@ show_stash () { ...@@ -161,7 +161,7 @@ show_stash () {
apply_stash () { apply_stash () {
git update-index -q --refresh && git update-index -q --refresh &&
git diff-files --quiet --ignore-submodules || 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= unstash_index=
case "$1" in case "$1" in
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册