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>
This commit is contained in:
committed by
Junio C Hamano
parent
a0578e0382
commit
7454ee3c62
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user