summaryrefslogtreecommitdiff
path: root/git-stash.sh
diff options
context:
space:
mode:
authorLee Marlow <lee.marlow@gmail.com>2008-08-05 05:50:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-06 04:21:19 (GMT)
commit95d43780cff575cfffeea881464c77f84f8d7244 (patch)
tree555b0868051fee70f252193606e8638eeb701851 /git-stash.sh
parenta6c2be244f45432617944e684156556482fb11b6 (diff)
downloadgit-95d43780cff575cfffeea881464c77f84f8d7244.zip
git-95d43780cff575cfffeea881464c77f84f8d7244.tar.gz
git-95d43780cff575cfffeea881464c77f84f8d7244.tar.bz2
bash completion: More completions for 'git stash'
Add branch subcommand to completions and USAGE for git-stash.sh. Complete stash names for show, apply, drop, pop, and branch. Add "--index" long option for apply. Signed-off-by: Lee Marlow <lee.marlow@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-xgit-stash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh
index d4609ed..5ad2c4b 100755
--- a/git-stash.sh
+++ b/git-stash.sh
@@ -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=