Skip to content

Commit 77f5ee0

Browse files
committed
fast-export: report SHA-1 instead of gibberish when marks exist already
Cc: Pieter de Bie <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3c85385 commit 77f5ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/fast-export.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ static void import_marks(char *input_file)
644644
die ("Could not read blob %s", sha1_to_hex(sha1));
645645

646646
if (object->flags & SHOWN)
647-
error("Object %s already has a mark", sha1);
647+
error("Object %s already has a mark", sha1_to_hex(sha1));
648648

649649
mark_object(object, mark);
650650
if (last_idnum < mark)

0 commit comments

Comments
 (0)