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

Re: Bug in gitk search box

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 26, 2007, 05:49 UTC
Message-ID
<7v1wevbtow.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<18088.10039.780711.708582@cargo.ozlabs.ibm.com>
Paul Mackerras <paulus@samba.org> writes:
Show 8 quoted lines
> Junio C Hamano writes:
>
>> There was a recent message from Linus on the list, stating that
>> NUL in -z format is inter-record separator, not after-record
>> terminator.
>
> OK, I'll have to change gitk then.  It looks like both Marco and I got
> tricked by this.  I suggest it's worth a mention in the documentation.
I think that is indeed necessary.  How about this?
---
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 8216576..228ccaf 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -43,7 +43,9 @@
 	Synonym for "-p --stat".
 
 -z::
-	\0 line termination on output
+	NUL-line termination on output.  This affects the --raw
+	output field terminator.  Also output from commands such
+	as "git-log" will be delimited with NUL between commits.
 
 --name-only::
 	Show only names of changed files.
Previous: Paul MackerrasNext: Marco Costalba
Message 5 of 6 in “Bug in gitk search box”
  1. Brian DowningJul 25, 2007
  2. Paul MackerrasJul 26, 2007
  3. Junio C HamanoJul 26, 2007
  4. Paul MackerrasJul 26, 2007
  5. Junio C HamanoJul 26, 2007
  6. Marco CostalbaJul 26, 2007

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.