diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-12 14:41:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-12 14:41:00 -0700 |
commit | c7c377d83f46113233718eaeb9009e7e6242b03d (patch) | |
tree | 3bc9fc1badb48ac73f19fae949a72575c513ecc0 /cache.h | |
parent | a194eaddca201163aa756faccd519f056bd3c35e (diff) | |
parent | 00160242770aea137ec7154a8e8406feef733926 (diff) | |
download | git-c7c377d83f46113233718eaeb9009e7e6242b03d.tar.gz |
Merge branch 'jk/config-int-range-check'
"git config" did not provide a way to set or access numbers larger
than a native "int" on the platform; it now provides 64-bit signed
integers on all platforms.
* jk/config-int-range-check:
git-config: always treat --int as 64-bit internally
config: make numeric parsing errors more clear
config: set errno in numeric git_parse_* functions
config: properly range-check integer values
config: factor out integer parsing from range checks
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1115,6 +1115,7 @@ extern int git_config_with_options(config_fn_t fn, void *, extern int git_config_early(config_fn_t fn, void *, const char *repo_config); extern int git_parse_ulong(const char *, unsigned long *); extern int git_config_int(const char *, const char *); +extern int64_t git_config_int64(const char *, const char *); extern unsigned long git_config_ulong(const char *, const char *); extern int git_config_bool_or_int(const char *, const char *, int *); extern int git_config_bool(const char *, const char *); |