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

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>

Johannes Schindelin committed Jun 12, 2012 at 15:45 UTC 43bc2302706af6a3bb9266eea1bcb7071c54c8c6
1 file changed +1 -1
builtin-fast-export.c
+1 -1
@@ -419,7 +419,7 @@ static void import_marks(char * input_file)
419 die ("Could not read blob %s", sha1_to_hex(sha1));
420
421 if (object->flags & SHOWN)
422 - error("Object %s already has a mark", sha1);
422 + error("Object %s already has a mark", sha1_to_hex(sha1));
423
424 mark_object(object, mark);
425 if (last_idnum < mark)