From: Pascal Obry Date: Sun, 6 Apr 2008 16:56:08 +0000 (+0200) Subject: Add prefix oriented completions for diff and format-patch commands. X-Git-Tag: v1.5.5~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aba201c6e8d9934157b9ba39b8e6b54c2fa7b6e1;p=git.git Add prefix oriented completions for diff and format-patch commands. Signed-off-by: Pascal Obry Acked-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 96a712b5e..4d81963b1 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 ;;