OSDN Git Service

fast-export: report SHA-1 instead of gibberish when marks exist already
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 12 Jun 2012 13:45:16 +0000 (15:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2012 14:25:11 +0000 (07:25 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c

index 45786ef..1bf4e06 100644 (file)
@@ -419,7 +419,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)