Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: add missing options to show-branch and show
author
Stephen Boyd
<bebarino@gmail.com>
Sun, 17 May 2009 03:42:43 +0000
(20:42 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 17 May 2009 05:46:22 +0000
(22:46 -0700)
Add --oneline and --abbrev-commit to show and --sparse to show-branch.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
da4b3e8
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index dd6cd250e35cb695107d4a9f610752e09ec5bbb7..a0c5794828a6ed00a3608d9ec22046478da83e96 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1804,7
+1804,7
@@
_git_show ()
return
;;
--*)
- __gitcomp "--pretty= --format=
+ __gitcomp "--pretty= --format=
--abbrev-commit --oneline
$__git_diff_common_options
"
return
@@
-1821,7
+1821,7
@@
_git_show_branch ()
__gitcomp "
--all --remotes --topo-order --current --more=
--list --independent --merge-base --no-name
- --sha1-name --topics --reflog
+ --sha1-name --
sparse --
topics --reflog
"
return
;;