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.
This commit is contained in:
Junio C Hamano 2012-06-17 14:00:03 -07:00
Родитель 121f71f0da 43bc230270
Коммит ca4effd8bc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -610,7 +610,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)