diffcore.h: drop extern from function declaration
[gitweb.git] / submodule.c
index 2a6381864e128c0122c1cbab6d148cf3c0d82961..6e14547e9e0000e6bf80e9ad21da81795cebcab7 100644 (file)
@@ -517,8 +517,8 @@ static void show_submodule_header(struct diff_options *o, const char *path,
         * Attempt to lookup the commit references, and determine if this is
         * a fast forward or fast backwards update.
         */
-       *left = lookup_commit_reference(one);
-       *right = lookup_commit_reference(two);
+       *left = lookup_commit_reference(the_repository, one);
+       *right = lookup_commit_reference(the_repository, two);
 
        /*
         * Warn about missing commits in the submodule project, but only if