summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPascal Obry <pascal.obry@gmail.com>2008-04-06 18:56:08 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-06 20:03:09 -0700
commitaba201c6e8d9934157b9ba39b8e6b54c2fa7b6e1 (patch)
tree95c84a1b85d3c96ac134be71c40e442ba61eb3be /contrib
parentf2b3e3c722fed852c59880f4773bc51833229cd3 (diff)
downloadgit-aba201c6e8d9934157b9ba39b8e6b54c2fa7b6e1.tar.gz
Add prefix oriented completions for diff and format-patch commands.
Signed-off-by: Pascal Obry <pascal@obry.net> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 96a712b5ea..4d81963b1d 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -639,7 +639,9 @@ _git_diff ()
--find-copies-harder --pickaxe-all --pickaxe-regex
--text --ignore-space-at-eol --ignore-space-change
--ignore-all-space --exit-code --quiet --ext-diff
- --no-ext-diff"
+ --no-ext-diff
+ --no-prefix --src-prefix= --dst-prefix=
+ "
return
;;
esac
@@ -696,6 +698,7 @@ _git_format_patch ()
--full-index --binary
--not --all
--cover-letter
+ --no-prefix --src-prefix= --dst-prefix=
"
return
;;