tree: convert read_tree_recursive to struct object_id
[gitweb.git] / builtin / log.c
index 94ee177d56d6ff9c82b02ebfb2d27cf789527974..32a744bfd2062e93a3b7047eb3bc905ca9dbe047 100644 (file)
@@ -541,7 +541,7 @@ static int show_tag_object(const struct object_id *oid, struct rev_info *rev)
        return 0;
 }
 
-static int show_tree_object(const unsigned char *sha1,
+static int show_tree_object(const struct object_id *oid,
                struct strbuf *base,
                const char *pathname, unsigned mode, int stage, void *context)
 {