threads / discuss / 15006

bash completion: 'git apply' should use 'fix' not 'strip'

Subject: bash completion: 'git apply' should use 'fix' not 'strip'

## tl;dr

2 messages between Aug 14, 2008 and Aug 14, 2008.

replies: 1people: 2as markdown or json

Eric Raible· Aug 14, 2008, 17:12 UTC · lore
Bring completion up to date with the man page.
Signed-off-by: Eric Raible <raible@gmail.com>
---
Seems to me that this qualifies as "obviously correct"...
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 3396e35..95040bd 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -501,7 +501,7 @@ __git_has_doubledash ()
       return 1
 }

-__git_whitespacelist="nowarn warn error error-all strip"
+__git_whitespacelist="nowarn warn error error-all fix"

 _git_am ()
 {
--
1.6.0.rc1.1206.gff2cf
Shawn O. Pearce· Aug 14, 2008, 20:58 UTC · re: Eric Raible · lore

Re: bash completion: 'git apply' should use 'fix' not 'strip'

Eric Raible <raible@gmail.com> wrote:
Show 5 quoted lines
> Bring completion up to date with the man page.
> 
> Signed-off-by: Eric Raible <raible@gmail.com>
> ---
> Seems to me that this qualifies as "obviously correct"...
 
Acked-by: Shawn O. Pearce <spearce@spearce.org>

Be nice if it was in 1.6.0. Eric posted this patch earlier but it apparently got missed.

Show 19 quoted lines
>  contrib/completion/git-completion.bash |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/contrib/completion/git-completion.bash
> b/contrib/completion/git-completion.bash
> index 3396e35..95040bd 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -501,7 +501,7 @@ __git_has_doubledash ()
>        return 1
>  }
> 
> -__git_whitespacelist="nowarn warn error error-all strip"
> +__git_whitespacelist="nowarn warn error error-all fix"
> 
>  _git_am ()
>  {
> --
> 1.6.0.rc1.1206.gff2cf
-- 
Shawn.

← back to recent threads