diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-04-17 12:49:41 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-17 08:15:16 -0700 |
| commit | bc288c59298f199348418ca08322046c67c9a0a2 (patch) | |
| tree | 7be79f5db2eef26a27d65a1dfbd1de6e2a9e236d /parse.h | |
| parent | 09705696f763bac370ac74926bef137eb712c0c8 (diff) | |
| download | git-bc288c59298f199348418ca08322046c67c9a0a2.tar.gz | |
parse-options: introduce precision handling for `OPTION_UNSIGNED`
This commit is the equivalent to the preceding commit, but instead of
introducing precision handling for `OPTION_INTEGER` we introduce it for
`OPTION_UNSIGNED`.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define PARSE_H int git_parse_signed(const char *value, intmax_t *ret, intmax_t max); +int git_parse_unsigned(const char *value, uintmax_t *ret, uintmax_t max); int git_parse_ssize_t(const char *, ssize_t *); int git_parse_ulong(const char *, unsigned long *); int git_parse_int(const char *value, int *ret); |
