Clarify how the user can satisfy stash's 'dirty state' check.
Signed-off-by: Stephen Haberman <stephen@exigencecorp.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Stephen Haberman committed
Sep 29, 2008 at 04:12 UTC
2a79d2f662a5a82a6cfcfd2a0d980e7b1875f320
1 file changed
+1
-1
git-stash.sh
+1
-1
@@ -161,7 +161,7 @@ show_stash () {
161
apply_stash () {
162
git update-index -q --refresh &&
163
git diff-files --quiet --ignore-submodules ||
164
- die 'Cannot restore on top of a dirty state'
164
+ die 'Cannot apply to a dirty working tree, please stage your changes'
165
166
unstash_index=
167
case "$1" in