summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-06-12 15:13:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-13 11:40:51 -0700
commit312c984a027f50247501d002fbd228a982f4f096 (patch)
tree6cbf964ae278ded69605c1813fc94a5b9cb06a24 /cache.h
parenttree: convert read_tree to take an index parameter (diff)
downloadtgif-312c984a027f50247501d002fbd228a982f4f096.tar.xz
ls-files: convert overlay_tree_on_cache to take an index
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 4d92aae0e8..5a0e0a9e5d 100644
--- a/cache.h
+++ b/cache.h
@@ -2186,7 +2186,8 @@ extern int ws_blank_line(const char *line, int len, unsigned ws_rule);
#define ws_tab_width(rule) ((rule) & WS_TAB_WIDTH_MASK)
/* ls-files */
-void overlay_tree_on_cache(const char *tree_name, const char *prefix);
+void overlay_tree_on_index(struct index_state *istate,
+ const char *tree_name, const char *prefix);
char *alias_lookup(const char *alias);
int split_cmdline(char *cmdline, const char ***argv);