From 43bc2302706af6a3bb9266eea1bcb7071c54c8c6 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 12 Jun 2012 15:45:16 +0200 Subject: [PATCH] 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 --- builtin-fast-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 45786ef1b7..1bf4e06713 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) -- 2.11.4.GIT