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 /cache.h | |
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 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1485,7 +1485,7 @@ struct git_config_source { typedef int (*config_fn_t)(const char *, const char *, void *); extern int git_default_config(const char *, const char *, void *); extern int git_config_from_file(config_fn_t fn, const char *, void *); -extern int git_config_from_buf(config_fn_t fn, const char *name, +extern int git_config_from_mem(config_fn_t fn, const char *name, const char *buf, size_t len, void *data); extern void git_config_push_parameter(const char *text); extern int git_config_from_parameters(config_fn_t fn, void *data); |