git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 -2
The problem is with --pretty=format.
        
Previous: Jakub Narebski
Message 9 of 9 in “Fix "git log --diff-filter" bug”
  1. Fix "git log --diff-filter" bugArjen Laarhoven, Dec 25, 2007
  2. Jakub NarebskiDec 25, 2007
  3. Junio C HamanoDec 26, 2007
  4. Test "git log --diff-filter"Jakub Narebski, Jan 5, 2008
  5. Junio C HamanoJan 5, 2008
  6. Jakub NarebskiJan 5, 2008
  7. Junio C HamanoJan 6, 2008
  8. Jakub NarebskiJan 7, 2008
  9. Junio C HamanoJan 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.