-static int walk_tree(const unsigned char *sha1, struct strbuf *base,
- const char *pathname, unsigned mode, int stage, void *cbdata)
+static int walk_tree(const struct object_id *oid, struct strbuf *base,
+ const char *pathname, unsigned mode, void *cbdata)