Re: Add git config variable for signoff
- From
- Prajwal S N <prajwalnadig21@gmail.com>
- Date
- Dec 19, 2022, 17:26 UTC
- Message-ID
- <CAC5-4e_TeVon0MAHUk99Kci5XWfeY_mozvGoYk-WGja7A3XCTQ@mail.gmail.com>
- In-Reply-To
- <xmqqtu1vkl38.fsf@gitster.g>
Show 7 quoted lines
> I think the latest round was the thread leading to this message: > > https://lore.kernel.org/git/xmqqpnfw8gyn.fsf@gitster-ct.c.googlers.com/ > > There was an earlier round: > > https://lore.kernel.org/git/20161229084701.GA3643@starla/
I went through these threads as well as the other related ones, and I understand some of the arguments. It definitely makes sense to have this specifically as opt-in, since it is important for developers to be aware that they are adding a DCO to their commits. This is exactly what my patch suggestion proposes - let us not touch the defaults for signing off, but simply provide a `commit.signoff` config flag identical to the existing `format.signoff` flag that works with `git format-patch`. This would mean that only the developers who regularly signoff every commit can add this to their config, taking full responsibility for choosing to do so :)
Cheers, Prajwal S N