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>
This commit is contained in:
parent
8134a003e0
commit
2946cccfdf
@ -885,7 +885,11 @@ _git_help ()
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
__gitcomp "$(__git_all_commands)"
|
__gitcomp "$(__git_all_commands)
|
||||||
|
attributes cli core-tutorial cvs-migration
|
||||||
|
diffcore gitk glossary hooks ignore modules
|
||||||
|
repository-layout tutorial tutorial-2
|
||||||
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
_git_init ()
|
_git_init ()
|
||||||
|
Loading…
Reference in New Issue
Block a user