diff options
Diffstat (limited to 'submodule-config.h')
-rw-r--r-- | submodule-config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/submodule-config.h b/submodule-config.h index 99df8e593c..70f19363fd 100644 --- a/submodule-config.h +++ b/submodule-config.h @@ -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 */ |