Re: Feature request: "author branch" in commit object
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 2, 2013, 20:00 UTC
- Message-ID
- <7v38rwlola.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CADL+T9YGtvFrzStxJW64OJEV6H0BroMbkVCJdsDwWDaUWd91zQ@mail.gmail.com>
Ed Hutchins <eh@demeterr.com> writes:
> I realize that branch names are ephemeral repo-specific things, but it > would be really useful to be able to determine what branch a commit > was authored from (as a hint to ancestry graph layout tools, for > example).
Hmm. I think the current thinking so far is that it is harmful to engrave that information in the commit object, exactly for the reason you stated upfront: these names are local in the repository the commit was created, and do not have any global meaning.
> Is there any way to do this currently, is it planned, or > would it be deemed useful enough to be worth adding to each commit > object?
No, no, and no, not because it is not just useful enough but it may be actively harmful.