git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 9/9] update 'git apply' bash-completion according to its man  page
@ 2009-08-08  8:57 Emmanuel Trillaud
  2009-08-08 19:50 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Trillaud @ 2009-08-08  8:57 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: git

---
 contrib/completion/git-completion.bash |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 8ba1249..c08422c 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -694,9 +694,15 @@ _git_apply ()
 	--*)
 		__gitcomp "
 			--stat --numstat --summary --check --index
-			--cached --index-info --reverse --reject --unidiff-zero
-			--apply --no-add --exclude=
+			--cached
+			--build-fake-ancestor=
+			--index-info --reverse --reject --unidiff-zero
+			--apply --no-add
+			--exclude=
+			--include=
 			--whitespace= --inaccurate-eof --verbose
+			--recount
+			--directory=
 			"
 		return
 	esac
-- 
1.6.4

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

* Re: [PATCH 9/9] update 'git apply' bash-completion according to its man  page
  2009-08-08  8:57 [PATCH 9/9] update 'git apply' bash-completion according to its man page Emmanuel Trillaud
@ 2009-08-08 19:50 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2009-08-08 19:50 UTC (permalink / raw)
  To: Emmanuel Trillaud; +Cc: Shawn O. Pearce, git

Emmanuel Trillaud <etrillaud@gmail.com> writes:

> ---
>  contrib/completion/git-completion.bash |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/contrib/completion/git-completion.bash
> b/contrib/completion/git-completion.bash
> index 8ba1249..c08422c 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -694,9 +694,15 @@ _git_apply ()
>  	--*)
>  		__gitcomp "
>  			--stat --numstat --summary --check --index
> -			--cached --index-info --reverse --reject --unidiff-zero
> -			--apply --no-add --exclude=
> +			--cached
> +			--build-fake-ancestor=
> +			--index-info --reverse --reject --unidiff-zero
> +			--apply --no-add
> +			--exclude=
> +			--include=
>  			--whitespace= --inaccurate-eof --verbose
> +			--recount
> +			--directory=

I'd rather suggest dropping --no-add that is script-only and not useful in
interactive use.  I also won't add --build-fake-ancestor for the same
reason.

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

end of thread, other threads:[~2009-08-08 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08  8:57 [PATCH 9/9] update 'git apply' bash-completion according to its man page Emmanuel Trillaud
2009-08-08 19:50 ` Junio C Hamano

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