t/Makefile: add a rule to re-run previously-failed tests
[gitweb.git] / submodule-config.h
index 99df8e593cc7c274f88a73dfdd6524b7f661692c..70f19363fd8bf5b7f42e974dacdc3ed2cd58a96a 100644 (file)
@@ -29,6 +29,9 @@ const struct submodule *submodule_from_name(const unsigned char *commit_or_tree,
                const char *name);
 const struct submodule *submodule_from_path(const unsigned char *commit_or_tree,
                const char *path);
+extern int gitmodule_sha1_from_commit(const unsigned char *commit_sha1,
+                                     unsigned char *gitmodules_sha1,
+                                     struct strbuf *rev);
 void submodule_free(void);
 
 #endif /* SUBMODULE_CONFIG_H */