Re: [PATCH] Test "git log --diff-filter"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 7, 2008, 01:58 UTC
- Message-ID
- <7vabni2y81.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200801070131.57722.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
> Am I mistaken in thinking that the rest of git always use terminators, > and not separators for records output?
Actually, for normal "git log", separator semantics is the right thing to use. You do not want to add an additional trailing newline when you show only one. Compare these two to see what I mean:
$ git log -1
$ git log -2The problem is with --pretty=format.