]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule-config.h
grep: search history of moved submodules
[thirdparty/git.git] / submodule-config.h
index d05c542d2cdace181ea72055c0f71db6b1afda42..78584ba6a715f38ebe5c30b7617c84afbc657fa0 100644 (file)
@@ -29,6 +29,9 @@ const struct submodule *submodule_from_name(const unsigned char *commit_sha1,
                const char *name);
 const struct submodule *submodule_from_path(const unsigned char *commit_sha1,
                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 */