Re: [PATCH] Builtin-commit: show on which branch a commit was added
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 7, 2008, 05:59 UTC
- Message-ID
- <7vd4jgpkce.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vzlmkpltb.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> I somehow suspect it might be much simpler, more contained and robust if you:
Ah, that would not work, sorry, because this if() statement is only about an uninteresting case of --allow-empty. You need to do this the hard way and teach get_commit_format_string() quote % characters in branch names.