submodules: load gitmodules file from commit sha1
[gitweb.git] / config.c
index 83fdecb1bc9f6f31bc625c79c1d3c12ba5b27f77..4d78e7227c4f5d2337c62a53e19aeba2f4e6c5f7 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1214,10 +1214,10 @@ int git_config_from_mem(config_fn_t fn, const enum config_origin_type origin_typ
        return do_config_from(&top, fn, data);
 }
 
-static int git_config_from_blob_sha1(config_fn_t fn,
-                                    const char *name,
-                                    const unsigned char *sha1,
-                                    void *data)
+int git_config_from_blob_sha1(config_fn_t fn,
+                             const char *name,
+                             const unsigned char *sha1,
+                             void *data)
 {
        enum object_type type;
        char *buf;