From 327a89dca11ac78aee711e4ab440d2194b9914f8 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Tue, 9 Nov 2010 22:49:37 +0100 Subject: [PATCH] notes.c: Hexify SHA1 in die() message from init_notes() Signed-off-by: Johan Herland Signed-off-by: Junio C Hamano --- notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes.c b/notes.c index 197824439..bb03eb036 100644 --- a/notes.c +++ b/notes.c @@ -940,7 +940,7 @@ void init_notes(struct notes_tree *t, const char *notes_ref, return; if (get_tree_entry(object_sha1, "", sha1, &mode)) die("Failed to read notes tree referenced by %s (%s)", - notes_ref, object_sha1); + notes_ref, sha1_to_hex(object_sha1)); hashclr(root_tree.key_sha1); hashcpy(root_tree.val_sha1, sha1); -- 2.30.2