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

Re: [PATCH] bash: add 'merge --ff' and '--no-ff' options

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 15, 2009, 05:34 UTC
Message-ID
<7v7i3sp8jk.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1234628576-4686-1-git-send-email-szeder@ira.uka.de>
SZEDER Gábor <szeder@ira.uka.de> writes:
Show 17 quoted lines
> Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
> ---
>  contrib/completion/git-completion.bash |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index e848d5d..ad45717 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -1037,6 +1037,7 @@ _git_merge ()
>  	--*)
>  		__gitcomp "
>  			--no-commit --no-stat --log --no-log --squash --strategy
> +			--ff --no-ff
>  			"
>  		return
>  	esac

I do not have objections to the patch per-se, but it made me stop thinking for 2 minutes why there is --no-ff listed but not --no-squash, and I gave up, not being able to figure out why.

Previous: SZEDER GáborNext: SZEDER Gábor
Message 2 of 5 in “bash: add 'merge --ff' and '--no-ff' options”
  1. bash: add 'merge --ff' and '--no-ff' optionsSZEDER Gábor, Feb 14, 2009
  2. Junio C HamanoFeb 15, 2009
  3. bash: add missing 'git merge' optionsSZEDER Gábor, Feb 15, 2009
  4. Shawn O. PearceFeb 16, 2009
  5. Junio C HamanoFeb 17, 2009

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.