Signed-off-by: Matthieu Moy <redacted>
---
quoted
Does SmartGit call 'git stash save' behind the scenes with the
user-supplied message? Then it should run
git stash save -- "$msg"
and you don't need to forbid anything.
Thank you very much, this solved the problem.
... unless one considers that the problem is that you had to ask.
Something like this should avoid others the problem.
git-stash.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-stash.sh b/git-stash.sh
index 2d69196..cf4e673 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -151,6 +151,7 @@ save_stash () {
;;
-*)
echo "error: unknown option for 'stash save': $1"
+ echo " To provide a message, use 'git stash -- $1'."
usage
;;
*)--
1.7.0.231.g9fa6.dirty