Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-stash: remove untracked/ignored directories when stashed
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index 0d167fcdf607c4c9eb21bd1d6678423d0a65fb27..31579172302afc996b5090d03ac48c4d5e717421 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-228,7
+228,7
@@
save_stash () {
test "$untracked" = "all" && CLEAN_X_OPTION=-x || CLEAN_X_OPTION=
if test -n "$untracked"
then
- git clean --force --quiet $CLEAN_X_OPTION
+ git clean --force --quiet
-d
$CLEAN_X_OPTION
fi
if test "$keep_index" = "t" && test -n $i_tree