diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2010-03-26 23:53:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-28 09:48:25 -0700 |
commit | 8b1fa778676ae94f7a6d4113fa90947b548154dd (patch) | |
tree | ebdd33abc21f7dc32fa413bdf6b77b651c0daeda /cache.h | |
parent | f1ba1c90e1704e937ff59ee510a8d46a5ab52a1a (diff) | |
download | git-8b1fa778676ae94f7a6d4113fa90947b548154dd.tar.gz |
Allow passing of configuration parameters in the command line
The values passed this way will override whatever is defined
in the config files.
Signed-off-by: Alex Riesen <raa.lkml@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, 2 insertions, 0 deletions
@@ -932,6 +932,8 @@ extern int update_server_info(int); 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_parse_parameter(const char *text); +extern int git_config_from_parameters(); extern int git_config(config_fn_t fn, void *); extern int git_parse_ulong(const char *, unsigned long *); extern int git_config_int(const char *, const char *); |