summaryrefslogtreecommitdiff
path: root/Documentation/git-describe.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-09-08 04:29:27 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-09 11:04:28 -0700
commit7192777d226c5b8653c65112a309c2ebd3d6d5c5 (patch)
tree82c4f56d785f743d59e50f449a10390a91f7c5b7 /Documentation/git-describe.txt
parentGit 1.8.4-rc4 (diff)
downloadtgif-7192777d226c5b8653c65112a309c2ebd3d6d5c5.tar.xz
config: factor out integer parsing from range checks
When we are parsing integers for config, we use an intmax_t (or uintmax_t) internally, and then check against the size of our result type at the end. We can parameterize the maximum representable value, which will let us re-use the parsing code for a variety of range checks. Unfortunately, we cannot combine the signed and unsigned parsing functions easily, as we have to rely on the signed and unsigned C types internally. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-describe.txt')
0 files changed, 0 insertions, 0 deletions