From: Johannes Schindelin Date: Tue, 12 Jun 2012 13:45:16 +0000 (+0200) Subject: fast-export: report SHA-1 instead of gibberish when marks exist already X-Git-Tag: v1.7.11-rc3~4^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43bc2302706af6a3bb9266eea1bcb7071c54c8c6;p=git.git fast-export: report SHA-1 instead of gibberish when marks exist already Cc: Pieter de Bie Signed-off-by: Johannes Schindelin Signed-off-by: Max Horn Signed-off-by: Junio C Hamano --- diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 45786ef1b..1bf4e0671 100644 --- a/builtin-fast-export.c +++ b/builtin-fast-export.c @@ -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)