diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2016-02-19 10:16:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-19 10:08:12 -0800 |
commit | 7454ee3c623a6788d91fd3c97af134de33996cfa (patch) | |
tree | 50446d7ce6c9e4d6ce887f21f9d4635e4541fa1d /submodule-config.c | |
parent | a0578e0382f453924fd2df8ea0402b90cd01f826 (diff) | |
download | git-7454ee3c623a6788d91fd3c97af134de33996cfa.tar.gz |
rename git_config_from_buf to git_config_from_mem
This matches the naming used in the index_{fd,mem,...} functions.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.c')
-rw-r--r-- | submodule-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule-config.c b/submodule-config.c index fe8ceabf30..b85a937959 100644 --- a/submodule-config.c +++ b/submodule-config.c @@ -427,7 +427,7 @@ static const struct submodule *config_from(struct submodule_cache *cache, parameter.commit_sha1 = commit_sha1; parameter.gitmodules_sha1 = sha1; parameter.overwrite = 0; - git_config_from_buf(parse_config, rev.buf, config, config_size, + git_config_from_mem(parse_config, rev.buf, config, config_size, ¶meter); free(config); |