git-svn: wrap long lines in a few places
[gitweb.git] / git-stash.sh
index e4cb6c3e4bef5a714ff245624503a004d3c293e3..5ad2c4b7a33cf1be24ee85f17c8738ca05b98db0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Copyright (c) 2007, Nanako Shiraishi
 
-USAGE='[  | save | list | show | apply | clear | drop | pop | create ]'
+USAGE='[  | save | list | show | apply | clear | drop | pop | create | branch ]'
 
 SUBDIRECTORY_OK=Yes
 OPTIONS_SPEC=
@@ -93,7 +93,7 @@ save_stash () {
                shift
        esac
 
-       stash_msg="$1"
+       stash_msg="$*"
 
        if no_changes
        then
@@ -267,7 +267,7 @@ show)
        ;;
 save)
        shift
-       save_stash "$*"
+       save_stash "$@"
        ;;
 apply)
        shift