stash: drop superfluos pathspec parameter
Since 833622a945 ("stash push: avoid printing errors", 2018-03-19) we don't use the 'git clean' call for the pathspec case anymore. The commit however forgot to remove the pathspec argument to the call. Remove the superfluos argument to make the code a little more obvious. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Gummerer committed
Mar 21, 2018 at 21:53 UTC
353278687e1a1a501c10431bcfe5605b5811d756
1 file changed
+1
-1
git-stash.sh
+1
-1
@@ -310,7 +310,7 @@ push_stash () {
310
test "$untracked" = "all" && CLEAN_X_OPTION=-x || CLEAN_X_OPTION=
311
if test -n "$untracked" && test $# = 0
312
then
313
- git clean --force --quiet -d $CLEAN_X_OPTION -- "$@"
313
+ git clean --force --quiet -d $CLEAN_X_OPTION
314
fi
315
316
if test $# != 0