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.c | |
| parent | parse-options: introduce precision handling for `OPTION_INTEGER` (diff) | |
| download | git-bc288c59298f199348418ca08322046c67c9a0a2.tar.gz git-bc288c59298f199348418ca08322046c67c9a0a2.zip | |
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.c')
| -rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ int git_parse_signed(const char *value, intmax_t *ret, intmax_t max) return 0; } -static int git_parse_unsigned(const char *value, uintmax_t *ret, uintmax_t max) +int git_parse_unsigned(const char *value, uintmax_t *ret, uintmax_t max) { if (value && *value) { char *end; |
