diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-12 15:13:58 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 11:40:51 -0700 |
commit | 312c984a027f50247501d002fbd228a982f4f096 (patch) | |
tree | 6cbf964ae278ded69605c1813fc94a5b9cb06a24 /cache.h | |
parent | tree: convert read_tree to take an index parameter (diff) | |
download | tgif-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |