diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 11:28:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 21:45:17 +0200 |
commit | 50ddb089ff68dfe1e3d9bd9a108d9015c176f761 (patch) | |
tree | 521e1975379ac6f30c33a8ebe59e5b1d9ad0852f /notes.c | |
parent | tree-walk.c: remove the_repo from fill_tree_descriptor() (diff) | |
download | git-50ddb089ff68dfe1e3d9bd9a108d9015c176f761.tar.xz git-50ddb089ff68dfe1e3d9bd9a108d9015c176f761.zip |
tree-walk.c: remove the_repo from get_tree_entry()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
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
@@ -1015,7 +1015,7 @@ void init_notes(struct notes_tree *t, const char *notes_ref, return; if (flags & NOTES_INIT_WRITABLE && read_ref(notes_ref, &object_oid)) die("Cannot use notes ref %s", notes_ref); - if (get_tree_entry(&object_oid, "", &oid, &mode)) + if (get_tree_entry(the_repository, &object_oid, "", &oid, &mode)) die("Failed to read notes tree referenced by %s (%s)", notes_ref, oid_to_hex(&object_oid)); |