summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-01-24 16:28:19 +0100
committerJunio C Hamano <gitster@pobox.com>2016-01-25 12:39:58 -0800
commit4a4ca4796df6b81d5995f31e87e9e6a64c2b889d (patch)
tree620436b6f18601b0ef64f273f62892b21c431f07 /dir.h
parente7c0c5354be01bedb4c6f0ad3b095ff0bfefa272 (diff)
downloadgit-4a4ca4796df6b81d5995f31e87e9e6a64c2b889d.tar.gz
dir: add {new,add}_untracked_cache()
Factor out code into new_untracked_cache() and add_untracked_cache(), which will be used in later commits. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index 7b5855dd80..cfd3636bfe 100644
--- a/dir.h
+++ b/dir.h
@@ -308,4 +308,5 @@ void free_untracked_cache(struct untracked_cache *);
struct untracked_cache *read_untracked_extension(const void *data, unsigned long sz);
void write_untracked_extension(struct strbuf *out, struct untracked_cache *untracked);
void add_untracked_ident(struct untracked_cache *);
+void add_untracked_cache(struct index_state *istate);
#endif