@matheusbsbs / matheus-bagliano / commits / 076c32370d
Fork 0

completion: add missing options to show-branch and show

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>

Stephen Boyd committed May 16, 2009 at 20:42 UTC 076c32370d8a6ac2fb57b2a55c674942e106f8ab
1 file changed +2 -2
contrib/completion/git-completion.bash
+2 -2
@@ -1804,7 +1804,7 @@ _git_show ()
1804 return
1805 ;;
1806 --*)
1807 - __gitcomp "--pretty= --format=
1807 + __gitcomp "--pretty= --format= --abbrev-commit --oneline
1808 $__git_diff_common_options
1809 "
1810 return
@@ -1821,7 +1821,7 @@ _git_show_branch ()
1821 __gitcomp "
1822 --all --remotes --topo-order --current --more=
1823 --list --independent --merge-base --no-name
1824 - --sha1-name --topics --reflog
1824 + --sha1-name --sparse --topics --reflog
1825 "
1826 return
1827 ;;