summaryrefslogtreecommitdiff
path: root/decorate.c
diff options
context:
space:
mode:
authorLibravatar Ben Peart <Ben.Peart@microsoft.com>2018-04-10 18:43:43 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-11 15:28:34 +0900
commitd8579accfaea398a157a3a8ad2ca6cac25f1b999 (patch)
tree2adbc2af9439061370c3084071f8eda642c4b91a /decorate.c
parentfsmonitor: teach git to optionally utilize a file system monitor to speed up ... (diff)
downloadtgif-d8579accfaea398a157a3a8ad2ca6cac25f1b999.tar.xz
fsmonitor: fix incorrect buffer size when printing version number
This is a trivial bug fix for passing the incorrect size to snprintf() when outputting the version. It should be passing the size of the destination buffer rather than the size of the value being printed. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.c')
0 files changed, 0 insertions, 0 deletions