summaryrefslogtreecommitdiff
path: root/builtin/prune-packed.c
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2019-04-07 19:47:51 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-08 17:01:52 +0900
commit7cb7283adb817dff660d237fcba9cce9db594034 (patch)
tree9b457965123ee76807e8d2b7c5095ee8b3f77b71 /builtin/prune-packed.c
parentmingw: allow building with an MSYS2 runtime v3.x (diff)
downloadtgif-7cb7283adb817dff660d237fcba9cce9db594034.tar.xz
ls-files: use correct format string
struct stat_data and struct cache_time both use unsigned ints for all their members. However the format string for 'git ls-files --debug' currently uses %d for formatting these numbers. This means that we potentially print these values incorrectly if they are greater than INT_MAX. This has been the case since the --debug option was introduced in 'git ls-files' in 8497421715 ("ls-files: learn a debugging dump format", 2010-07-31). Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune-packed.c')
0 files changed, 0 insertions, 0 deletions