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

Re: [PATCH] commit: fix test broken by jn/commit-no-change-wo-status

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 10, 2010, 23:56 UTC
Message-ID
<20100810235612.GC2099@burratino>
In-Reply-To
<1281447519-25862-1-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason wrote:
Show 10 quoted lines
> +++ b/t/t6040-tracking-info.sh
> @@ -70,8 +70,9 @@ test_expect_success 'status' '
>  		git checkout b1 >/dev/null &&
>  		# reports nothing to commit
>  		test_must_fail git commit --dry-run
> -	) >actual &&
> -	grep "have 1 and 1 different" actual
> +	) >actual 2>actual-err &&
> +	grep "nothing to commit" actual &&
> +	grep "Already on" actual-err

Hmm, this looks rather like a bug in the series: it looks like as an unpleasant side-effect it eliminates the

 # Not currently on any branch.
-like output.
Previous: Ævar Arnfjörð Bjarmason
Message 2 of 2 in “commit: fix test broken by jn/commit-no-change-wo-status”
  1. commit: fix test broken by jn/commit-no-change-wo-statusÆvar Arnfjörð Bjarmason, Aug 10, 2010
  2. Jonathan NiederAug 10, 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.