Re: log --graph --first-parent weirdness
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 4, 2008, 17:12 UTC
- Message-ID
- <7vmym1xgy4.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080604150042.GA3038@mithlond.arda.local>
Teemu Likonen <tlikonen@iki.fi> writes:
> The output of "git log --graph --first-parent" seems weird.
Heh, --first-parent means "I'll view everything as a single strand of pearls". Who in the right mind would use --graph at the same time to begin with ;-)?
We could turn --graph automatically off if --first-parent is given, but I tend to agree with you that the right behaviour is to show the same "everything prefixed with '| ', wasting two columns without good reason" output as you would see on a true linear history.