diff options
author | Johan Herland <johan@herland.net> | 2010-11-09 22:49:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-10 10:25:51 -0800 |
commit | 327a89dca11ac78aee711e4ab440d2194b9914f8 (patch) | |
tree | 1037083c949ddb19d1aa0db1b9ab51ca47dff601 /notes.c | |
parent | e93487d2f007176804e89042f9f199628e45c864 (diff) | |
download | git-327a89dca11ac78aee711e4ab440d2194b9914f8.tar.gz |
notes.c: Hexify SHA1 in die() message from init_notes()
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
-rw-r--r-- | notes.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |