Skip to content

Commit 43bc230

Browse files
dschogitster
authored andcommitted
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]> Signed-off-by: Max Horn <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent df6a7ff commit 43bc230

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
@@ -419,7 +419,7 @@ static void import_marks(char * input_file)
419419
die ("Could not read blob %s", sha1_to_hex(sha1));
420420

421421
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));
423423

424424
mark_object(object, mark);
425425
if (last_idnum < mark)

0 commit comments

Comments
 (0)