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

Re: Request for git merge --signoff

From
DKDan Kohn <dan@linuxfoundation.org>
Date
Jul 1, 2017, 18:15 UTC
Message-ID
<CAHv71zJZfG3AGNL_J5KqYiut6AyyNdUyBG-sZ9aZ-zoGVdOr+w@mail.gmail.com>
In-Reply-To
<xmqqbmp4nj9u.fsf@gitster.mtv.corp.google.com>
On Sat, Jul 1, 2017 at 1:45 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Dan Kohn <dan@linuxfoundation.org> writes:
>> Could you please add a `--signoff` option to `git merge`?
> The reason why we changed the default for "git merge" to start an
> editor at around v1.7.10 was because we wanted to encourage people
> to write log message that more meaningfully documents the change,
> and adding sign-off is probably in line with that.
> I've done that "commit --amend" on a merge to tweak its message
> myself number of times, but I have to admit that I never did so for
> sign-off, but why not? ;-)

I'm not opposed to starting the editor, although in the case of our workflow there's not much more to say beyond "Merged in master". I would just like the Sign-Off line to appear by default in the commit message if I do `git merge origin/master --signoff`. I know it seems trivial, but many GitHub users aren't familiar with the exact header syntax to use, as they're used to just doing `git commit -sam 'New Feature'`.

Separately, I just came back from Beijing where Linus spoke at LC3 <https://www.lfasiallc.com/linuxcon-containercon-cloudopen-china>. He was asked about git and explained that he had largely bowed out of any development after the first few months and credited your stewardship. Even if you turn down my request for a new flag here, thanks for the amazing project! -- Dan Kohn <mailto:dan@linuxfoundation.org> Executive Director, Cloud Native Computing Foundation <https://cncf.io/> tel:+1-415-233-1000

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Request for git merge --signoff”
  1. Dan KohnJul 1, 2017
  2. Junio C HamanoJul 1, 2017
  3. Dan KohnJul 1, 2017
  4. Junio C HamanoJul 1, 2017
  5. Ævar Arnfjörð BjarmasonJul 1, 2017
  6. Christian CouderJul 25, 2017

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.