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

[PATCH] fast-export: report SHA-1 instead of gibberish when marks exist already

From
Max Horn <max@quendi.de>
Date
Jun 12, 2012, 13:45 UTC
Message-ID
<1339508716-51880-2-git-send-email-max@quendi.de>
In-Reply-To
<1339508716-51880-1-git-send-email-max@quendi.de>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
Cc: Pieter de Bie <pdebie@ai.rug.nl>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Max Horn <max@quendi.de>
---
 builtin/fast-export.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
diff --git a/builtin/fast-export.c b/builtin/fast-export.c
index 19509ea..ef7c012 100644
--- a/builtin/fast-export.c
+++ b/builtin/fast-export.c
@@ -610,7 +610,7 @@ static void import_marks(char *input_file)
 			die ("Could not read blob %s", sha1_to_hex(sha1));
 
 		if (object->flags & SHOWN)
-			error("Object %s already has a mark", sha1);
+			error("Object %s already has a mark", sha1_to_hex(sha1));
 
 		mark_object(object, mark);
 		if (last_idnum < mark)
-- 
1.7.10.4
Previous: Max HornNext: Junio C Hamano
Message 2 of 3 in “fast-export: report SHA-1 instead of gibberish when marks”
  1. fast-export: report SHA-1 instead of gibberish when marksMax Horn, Jun 12, 2012
  2. fast-export: report SHA-1 instead of gibberish when marks exist alreadyMax Horn, Jun 12, 2012
  3. Junio C HamanoJun 12, 2012

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.