Re: extra headers in commit objects
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 4, 2010, 00:38 UTC
- Message-ID
- <7v8wb96die.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20100203210407.GG14799@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 11 quoted lines
> We all know that some other systems, e.g. SVN, permit adding > additional properties to commits, and that often these are used > to make statements like "Fixed bug NNNN", and bug tracking systems > integrate into SVN by reading or updating those properties. > > So you, Nico, myself, might all agree that "bug" does not belong > in the header, but many others see it like SVN sees additional > properties on a revision, and thus it goes there. > > Hence the artifical example. It seems that it is not that artifical > outside of our mailing list.
Aren't the meta-properties like "Fixed bug NNNN" something you can add after the fact, even in SVN?
We have that in "notes". I never said people are wrong for wanting to record additional information _about_ commits somewhere (and I didn't say "artificial" at all---it was you who said it was a "made-up" example).
My point was that they do not belong to the commit _header_, and "but many others see" doesn't contradict with that. Many others may feel the need to be able to express random things _about_ the commit; it does not mean these random things have to go _in_ the commit.