diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-12 15:13:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 11:40:51 -0700 |
commit | 85ab50f938601cf874c841cee4c56f1d1dc8199e (patch) | |
tree | f6dac1cfcb02c6a32b46baf62acedd4d9be3a1e3 /builtin/ls-files.c | |
parent | convert: convert renormalize_buffer to take an index (diff) | |
download | tgif-85ab50f938601cf874c841cee4c56f1d1dc8199e.tar.xz |
tree: convert read_tree to take an index parameter
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/ls-files.c')
-rw-r--r-- | builtin/ls-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/ls-files.c b/builtin/ls-files.c index 0044abf669..93e46ab5fb 100644 --- a/builtin/ls-files.c +++ b/builtin/ls-files.c @@ -460,7 +460,7 @@ void overlay_tree_on_cache(const char *tree_name, const char *prefix) PATHSPEC_PREFER_CWD, prefix, matchbuf); } else memset(&pathspec, 0, sizeof(pathspec)); - if (read_tree(tree, 1, &pathspec)) + if (read_tree(tree, 1, &pathspec, &the_index)) die("unable to read tree entries %s", tree_name); for (i = 0; i < active_nr; i++) { |