Code

tree_entry_interesting(): support depth limit
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index a6456143b274b5526e792c8f494469426eb949e0..0cf0bac8935029aa93bd10f41c4c07b07eb5f4cf 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -503,6 +503,8 @@ extern int ie_modified(const struct index_state *, struct cache_entry *, struct
 struct pathspec {
        const char **raw; /* get_pathspec() result, not freed by free_pathspec() */
        int nr;
+       int recursive:1;
+       int max_depth;
        struct pathspec_item {
                const char *match;
                int len;