diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 16:28:48 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 12:45:17 -0700 |
commit | 5e575807337d15dbecf88767e709df08304e3b94 (patch) | |
tree | e74223df14c8a18469a7c9d86825c23fb1142152 /unpack-trees.c | |
parent | d3b4705ab81c01cb57dd356d96e981de78d65a5d (diff) | |
download | git-5e575807337d15dbecf88767e709df08304e3b94.tar.gz |
tree-walk.c: remove the_repo from fill_tree_descriptor()
While at there, clean up the_repo usage in builtin/merge-tree.c a tiny
bit.
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 'unpack-trees.c')
-rw-r--r-- | unpack-trees.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-trees.c b/unpack-trees.c index 50189909b8..cfe1c5ec6f 100644 --- a/unpack-trees.c +++ b/unpack-trees.c @@ -840,7 +840,7 @@ static int traverse_trees_recursive(int n, unsigned long dirmask, const struct object_id *oid = NULL; if (dirmask & 1) oid = &names[i].oid; - buf[nr_buf++] = fill_tree_descriptor(t + i, oid); + buf[nr_buf++] = fill_tree_descriptor(the_repository, t + i, oid); } } |