git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 14, 2008, 20:58 UTC
Message-ID
<20080814205804.GP3782@spearce.org>
In-Reply-To
<279b37b20808141012l460e2218lbe440dfe3ee44462@mail.gmail.com>
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.
Previous: Eric Raible
Message 2 of 2 in “bash completion: 'git apply' should use 'fix' not 'strip'”
  1. Eric RaibleAug 14, 2008
  2. Shawn O. PearceAug 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.