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

Re: [PATCH v2] Use warning function instead of fprintf(stderr, "Warning: ...").

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 4, 2010, 00:41 UTC
Message-ID
<7vljgevgzj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100104091847.6117@nanako3.lavabit.com>
Nanako Shiraishi <nanako3@lavabit.com> writes:
Show 7 quoted lines
> Quoting Thiago Farina <tfransosi@gmail.com>
>
>> Signed-off-by: Thiago Farina <tfransosi@gmail.com>
>> ---
>> Removed the LF from the end of the strings.
>
> Trying this patch makes t6030-bisect-porcelain.sh fail for me. Was this tested at all?
I noticed it as well; will squash this in.
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh
index def397c..c51865f 100755
--- a/t/t6030-bisect-porcelain.sh
+++ b/t/t6030-bisect-porcelain.sh
@@ -423,7 +423,7 @@ test_expect_success 'skipped merge base when good and bad are siblings' '
 	grep "merge base must be tested" my_bisect_log.txt &&
 	grep $HASH4 my_bisect_log.txt &&
 	git bisect skip > my_bisect_log.txt 2>&1 &&
-	grep "Warning" my_bisect_log.txt &&
+	grep "warning" my_bisect_log.txt &&
 	grep $SIDE_HASH6 my_bisect_log.txt &&
 	git bisect reset
 '
Previous: Nanako Shiraishi
Message 3 of 3 in “Use warning function instead of fprintf(stderr, "Warning: ...").”
  1. Use warning function instead of fprintf(stderr, "Warning: ...").Thiago Farina, Jan 3, 2010
  2. Nanako ShiraishiJan 4, 2010
  3. Junio C HamanoJan 4, 2010

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.