aboutsummaryrefslogtreecommitdiffstats
path: root/tree-walk.h
diff options
context:
space:
mode:
Diffstat (limited to 'tree-walk.h')
-rw-r--r--tree-walk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tree-walk.h b/tree-walk.h
index 6305d53150..a6bfa3da3a 100644
--- a/tree-walk.h
+++ b/tree-walk.h
@@ -1,9 +1,10 @@
#ifndef TREE_WALK_H
#define TREE_WALK_H
-#include "cache.h"
+#include "hash-ll.h"
-#define MAX_TRAVERSE_TREES 8
+struct index_state;
+struct repository;
/**
* The tree walking API is used to traverse and inspect trees.
@@ -221,7 +222,7 @@ enum interesting {
enum interesting tree_entry_interesting(struct index_state *istate,
const struct name_entry *,
- struct strbuf *, int,
+ struct strbuf *,
const struct pathspec *ps);
#endif