Skip to content

Commit

Permalink
Add prefix oriented completions for diff and format-patch commands.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pascal Obry authored and Junio C Hamano committed Apr 7, 2008
1 parent f2b3e3c commit aba201c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -696,6 +698,7 @@ _git_format_patch ()
--full-index --binary
--not --all
--cover-letter
--no-prefix --src-prefix= --dst-prefix=
"
return
;;
Expand Down

0 comments on commit aba201c

Please sign in to comment.