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

Re: [PATCH 2/5] Introduce -ff=<fast forward option>

From
Ping Yin <pkufranky@gmail.com>
Date
May 2, 2008, 12:33 UTC
Message-ID
<46dff0320805020533u179e16cej2c4db3105252d0bd@mail.gmail.com>
In-Reply-To
<402c10cd0804232246i6f7cd946h955b75832cf32876@mail.gmail.com>

On Thu, Apr 24, 2008 at 1:46 PM, Sverre Hvammen Johansen <hvammen@gmail.com> wrote:

Show 35 quoted lines
> --ff now takes an argument allowing --ff to be written
>  as --ff=allow and -no-ff to be written as --ff=never.
>  This change allow other fast forward options to be
>  introduced later.
>
>  See the documentation for a further explanation of these options.
>
>  Signed-off-by: Sverre Hvammen Johansen <hvammen@gmail.com>
>  ---
>   Documentation/fast-forward-options.txt |   44 ++++++++
>   Documentation/git-merge.txt            |    6 +-
>   Documentation/git-pull.txt             |    2 +
>   Documentation/merge-options.txt        |    9 +-
>   git-merge.sh                           |   47 +++++---
>   git-pull.sh                            |    4 +-
>   t/t7601-merge-ff-options.sh            |  188 ++++++++++++++++++++++++++++++++
>   7 files changed, 277 insertions(+), 23 deletions(-)
>   create mode 100644 Documentation/fast-forward-options.txt
>
>  diff --git a/Documentation/fast-forward-options.txt
>  b/Documentation/fast-forward-options.txt
>  new file mode 100644
>  index 0000000..95d0e6f
>  --- /dev/null
>  +++ b/Documentation/fast-forward-options.txt
>  @@ -0,0 +1,44 @@
>  +FAST FORWARD OPTIONS
>  +--------------------
>  +
>  +allow::
>  +
>  +       Do not generate a merge commit if the merge resolves as a
>  +       fast-forward, only update the branch pointer.  This option is
>  +       equivalent of '--ff' without any argument.  This is the
>  +       default behavior.

only and never are both adverb,but allow is a verb. So how about using auto instead of allow?

-- 
Ping Yin
Previous: Sverre Hvammen JohansenNext: Sverre Hvammen Johansen
Message 2 of 3 in “Introduce -ff=<fast forward option>”
  1. 2/5 Introduce -ff=<fast forward option>Sverre Hvammen Johansen, Apr 24, 2008
  2. Ping YinMay 2, 2008
  3. Sverre Hvammen JohansenMay 3, 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.