提交 43bc2302 编写于 作者: J Johannes Schindelin 提交者: Junio C Hamano

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

Cc: Pieter de Bie <pdebie@ai.rug.nl>
Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: NMax Horn <max@quendi.de>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 df6a7ff7
......@@ -419,7 +419,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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册