tag: add repository argument to parse_tag_buffer
[gitweb.git] / submodule.c
index 0998ea2345800449c08bca12fbedd236f6b55eb6..6688dd5d45949597d7d5761c9b88ea9fcceabf2d 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