summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-06-22 12:25:18 +0100
committerJunio C Hamano <gitster@pobox.com>2013-06-30 15:59:10 -0700
commit66fb37d0c62ef49c9d3506b10d2d7f5b33008484 (patch)
tree920cba1a22de4e2ee3a46fa6adc7c7c9265f8173
parent776009d1b2bcfbd001767758fea0c2ff0e74383d (diff)
downloadgit-66fb37d0c62ef49c9d3506b10d2d7f5b33008484.tar.gz
completion: learn about --man-path
Signed-off-by: John Keeping <john@keeping.me.uk> Acked-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash1
-rwxr-xr-xt/t9902-completion.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 8fbf94103c..b13c880e9a 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2513,6 +2513,7 @@ __git_main ()
--exec-path
--exec-path=
--html-path
+ --man-path
--info-path
--work-tree=
--namespace=
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index 81a1657efb..14d605af1a 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -231,6 +231,7 @@ test_expect_success 'double dash "git" itself' '
--exec-path Z
--exec-path=
--html-path Z
+ --man-path Z
--info-path Z
--work-tree=
--namespace=