bash-completion: Add non-command git help files to bash-completion
Git allows access to the gitattributes man page via `git help attributes`, but this is not discoverable via the bash-completion mechanism. This patch adds all current non-command man pages to the completion candidate list. Signed-off-by: Marcus Griep <marcus@griep.us> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Marcus Griep committed
Aug 15, 2008 at 13:59 UTC
2946cccfdf2fba591b6af61ad6e658bb927832af
1 file changed
+5
-1
contrib/completion/git-completion.bash
+5
-1
@@ -885,7 +885,11 @@ _git_help ()
885
return
886
;;
887
esac
888
- __gitcomp "$(__git_all_commands)"
888
+ __gitcomp "$(__git_all_commands)
889
+ attributes cli core-tutorial cvs-migration
890
+ diffcore gitk glossary hooks ignore modules
891
+ repository-layout tutorial tutorial-2
892
+ "
893
}
894
895
_git_init ()