From: Shawn O. Pearce Date: Sun, 06 Apr 2008 19:45:20 GMT Subject: Re: [PATCH] Add prefix oriented completions for diff and format-patch commands. Message-ID: <20080406194520.GK10274@spearce.org> In-Reply-To: <1207500968-792-1-git-send-email-pascal@obry.net> Pascal Obry wrote: > Signed-off-by: Pascal Obry Acked-by: Shawn O. Pearce > diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash > index 791e30f..618d278 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 > ;; > -- -- Shawn.