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

Re: [BUG] log: Non-zero exit code?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Aug 21, 2010, 06:31 UTC
Message-ID
<20100821063116.GK6211@kytes>
In-Reply-To
<20100821062158.GJ6211@kytes>
Hi,
Show 14 quoted lines
> diff --git a/t/t4202-log.sh b/t/t4202-log.sh
> index 2e51356..bd05bc9 100755
> --- a/t/t4202-log.sh
> +++ b/t/t4202-log.sh
> @@ -37,6 +37,12 @@ test_expect_success setup '
>  
>  '
>  
> +test_expect_success 'exit code' '
> +
> +        git log
> +        test_cmp $? 0
> +'
> +
Er, I meant test $? = 0.
-- Ram
Previous: Ramkumar RamachandraNext: René Scharfe
Message 2 of 4 in “[BUG] log: Non-zero exit code?”
  1. Ramkumar RamachandraAug 21, 2010
  2. Ramkumar RamachandraAug 21, 2010
  3. René ScharfeAug 21, 2010
  4. Ramkumar RamachandraAug 21, 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.