Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: use SWAP macro
[gitweb.git]
/
submodule-config.c
diff --git
a/submodule-config.c
b/submodule-config.c
index ec13ab5a3dd82ac90c1c83d9e07dc8c045a992d2..4bf50f398a5bd705531e32f9329c0e3b7e630506 100644
(file)
--- a/
submodule-config.c
+++ b/
submodule-config.c
@@
-379,7
+379,7
@@
static int parse_config(const char *var, const char *value, void *data)
return ret;
}
-
static
int gitmodule_sha1_from_commit(const unsigned char *treeish_name,
+int gitmodule_sha1_from_commit(const unsigned char *treeish_name,
unsigned char *gitmodules_sha1,
struct strbuf *rev)
{