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

[PATCH] sha1_file: typofix

From
Junio C Hamano <gitster@pobox.com>
Date
May 15, 2011, 19:16 UTC
Message-ID
<7vsjsfpyfg.fsf@alter.siamese.dyndns.org>
The number zero is spelled "zero", not "zer0".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 sha1_file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sha1_file.c b/sha1_file.c
index 889fe71..ee06d99 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1308,7 +1308,7 @@ static void *unpack_sha1_rest(z_stream *stream, void *buffer, unsigned long size
 		/*
 		 * The above condition must be (bytes <= size), not
 		 * (bytes < size).  In other words, even though we
-		 * expect no more output and set avail_out to zer0,
+		 * expect no more output and set avail_out to zero,
 		 * the input zlib stream may have bytes that express
 		 * "this concludes the stream", and we *do* want to
 		 * eat that input.
-- 
1.7.5.1.334.gdfd07
Message 1 of 1 in “sha1_file: typofix”
  1. sha1_file: typofixJunio C Hamano, May 15, 2011

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.