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

Re: [PATCH] rebase: pass --signoff option to git am

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Nov 28, 2010, 08:00 UTC
Message-ID
<AANLkTim+vJuZ9bJnROqbzN8O-K8NVyi8zHYokDNqOjqa@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.10.1011272002090.26955@debian>

On Sat, Nov 27, 2010 at 8:05 PM, Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> wrote:

Show 21 quoted lines
>
> On Sun, 28 Nov 2010, Sverre Rabbelier wrote:
>
>> Heya,
>>
>> On Sat, Nov 27, 2010 at 12:15, Giuseppe Bilotta
>> <giuseppe.bilotta@gmail.com> wrote:
>> >  -p::
>> >  --preserve-merges::
>> >        Instead of ignoring merges, try to recreate them.
>> > +
>> > +--signoff::
>> > +       This flag is passed to 'git am' to sign off all the rebased
>> > +       commits (see linkgit:git-am[1]).
>> > +       Incompatible with the --interactive option.
>>
>> The one above that does have a shorthand (-p), why should we (not?)
>> give --signoff it's customary -s shorthand here?
>
> The '-s' flag is unfortunately already taken. It is used for
> specifying a merge strategy.

In fact, this is why I was a little skeptical myself about submitting this patch. What if people start remembering that rebase supports --signoff and implicity assume that -s is also a valid shortcut? Funky errors. (I've been bittem myself by similar situations for whitespace support. Can I pass -b or not? Will it mean --ignore-whitespace?)

-- 
Giuseppe "Oblomov" Bilotta
Previous: Martin von ZweigbergkNext: Kevin Ballard
Message 4 of 8 in “rebase: pass --signoff option to git am”
  1. rebase: pass --signoff option to git amGiuseppe Bilotta, Nov 27, 2010
  2. Sverre RabbelierNov 28, 2010
  3. Martin von ZweigbergkNov 27, 2010
  4. Giuseppe BilottaNov 28, 2010
  5. Kevin BallardNov 29, 2010
  6. Giuseppe BilottaNov 30, 2010
  7. Giuseppe BilottaDec 6, 2010
  8. Jonathan NiederDec 6, 2010

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.