Re: [PATCH] commit: Add -f, --fixes <commit> option to add Fixes: line
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 28, 2013, 01:52 UTC
- Message-ID
- <xmqqa9hui2lp.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20131027013402.GA7146@leaf>
There are unbound number of kinds of trailers people would want to add, depending on their projects' needs. We should not have to add a specific support for a tailer like this one, before thinking through to see if we can add generic support for adding arbitrary trailers to avoid code and interface bloat.
Think of the existing --signoff as a historical mistake. Such a generic "adding arbitrary trailers" support, when done properly, should be able to express what "--signoff" does, and we should be able to redo "--signoff" as a special case of that generic "adding arbitrary trailers" support, and at that point, "Fixes:" trailer the kernel project wants to use should fall out as a natural consequence.