git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add prefix oriented completions for diff and format-patch commands.
@ 2008-04-06 16:56 Pascal Obry
  2008-04-06 19:45 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Pascal Obry @ 2008-04-06 16:56 UTC (permalink / raw)
  To: git; +Cc: Pascal Obry

Signed-off-by: Pascal Obry <pascal@obry.net>
---
 contrib/completion/git-completion.bash |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

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
 		;;
-- 
1.5.5.rc2.6.gf58d

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add prefix oriented completions for diff and format-patch commands.
  2008-04-06 16:56 [PATCH] Add prefix oriented completions for diff and format-patch commands Pascal Obry
@ 2008-04-06 19:45 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2008-04-06 19:45 UTC (permalink / raw)
  To: Pascal Obry; +Cc: git, Pascal Obry

Pascal Obry <pascal.obry@gmail.com> wrote:
> Signed-off-by: Pascal Obry <pascal@obry.net>

Acked-by: Shawn O. Pearce <spearce@spearce.org>

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-06 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-06 16:56 [PATCH] Add prefix oriented completions for diff and format-patch commands Pascal Obry
2008-04-06 19:45 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).