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

2 messages from 2008-08-14 to 2008-08-14. Participants: Eric Raible, Shawn O. Pearce.
Thread: https://gitlist.dev/t/15006

## Eric Raible, 2008-08-14 17:12

Subject: bash completion: 'git apply' should use 'fix' not 'strip'
Message-ID: <279b37b20808141012l460e2218lbe440dfe3ee44462@mail.gmail.com>
URL: https://gitlist.dev/e/279b37b20808141012l460e2218lbe440dfe3ee44462%40mail.gmail.com

```
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, 2008-08-14 20:58

Subject: Re: bash completion: 'git apply' should use 'fix' not 'strip'
Message-ID: <20080814205804.GP3782@spearce.org>
URL: https://gitlist.dev/e/20080814205804.GP3782%40spearce.org
In-Reply-To: <279b37b20808141012l460e2218lbe440dfe3ee44462@mail.gmail.com>

```
Eric Raible <raible@gmail.com> wrote:
> 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.

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

```
