Skip to content

Commit ca4effd

Browse files
committed
Merge branch 'js/maint-fast-export-mark-error' into maint
"git fast-export" did not give a readable error message when the same mark erroneously appeared twice in the --import-marks input.
2 parents 121f71f + 43bc230 commit ca4effd

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

612612
if (object->flags & SHOWN)
613-
error("Object %s already has a mark", sha1);
613+
error("Object %s already has a mark", sha1_to_hex(sha1));
614614

615615
mark_object(object, mark);
616616
if (last_idnum < mark)

0 commit comments

Comments
 (0)