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

Re: [PATCH 2/2] branch: don't fail listing branches if one of the commits wasn't found

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jun 4, 2010, 02:43 UTC
Message-ID
<20100604024344.GB26311@progeny.tock>
In-Reply-To
<1275551282-21557-2-git-send-email-simo.melenius@iki.fi>
Simo Melenius wrote:
> Signed-off-by: Simo Melenius <simo.melenius@iki.fi>
Except as pointed out by Sverre[1],
  Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks.
[1] http://thread.gmane.org/gmane.comp.version-control.git/148253/focus=148350
diff --git a/builtin/branch.c b/builtin/branch.c
index 2242743..d2d3c26 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -542,7 +542,7 @@ static int print_ref_list(int kinds, int detached, int verbose, int abbrev, stru
 	free_ref_list(&ref_list);
 
 	if (cb.ret)
-		error("some refs could not be read, review stderr");
+		error("some refs could not be read");
 
 	return cb.ret;
 }
Previous: Sverre Rabbelier
Message 9 of 9 in “Bug? "git branch" failing to list all branches”
  1. Simo MeleniusJun 2, 2010
  2. Jonathan NiederJun 3, 2010
  3. Simo MeleniusJun 3, 2010
  4. Jonathan NiederJun 3, 2010
  5. 1/2 branch: exit status now reflects if branch listing finds an errorSimo Melenius, Jun 3, 2010
  6. Jonathan NiederJun 4, 2010
  7. 2/2 branch: don't fail listing branches if one of the commits wasn't foundSimo Melenius, Jun 3, 2010
  8. Sverre RabbelierJun 3, 2010
  9. Jonathan NiederJun 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.