rebase: default to using the builtin rebase
[gitweb.git] / builtin / diff-tree.c
index a5718d96ee2c5304ed19fe633c7fdd86dc18ec8e..91ba67070e252fa13a0e32e08a251ca58c7f930b 100644 (file)
@@ -25,7 +25,7 @@ static int stdin_diff_commit(struct commit *commit, const char *p)
 
        /* Graft the fake parents locally to the commit */
        while (isspace(*p++) && !parse_oid_hex(p, &oid, &p)) {
-               struct commit *parent = lookup_commit(&oid);
+               struct commit *parent = lookup_commit(the_repository, &oid);
                if (!pptr) {
                        /* Free the real parent list */
                        free_commit_list(commit->parents);