summaryrefslogtreecommitdiff
path: root/ws.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-01-30 04:52:19 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-30 13:45:58 -0800
commit9734b74a8f9e327e02762024596961209cf989d5 (patch)
treee19e2f23b67a04d6ba2aac53699e2b5b98501663 /ws.c
parentGit 2.25 (diff)
downloadtgif-9734b74a8f9e327e02762024596961209cf989d5.tar.xz
normalize_path_copy(): document "dst" size expectations
We take a "dst" buffer to write into, but there's no matching "len" parameter. The hidden assumption is that normalizing always makes things smaller, so we're OK as long as "dst" is at least as big as "src". Let's document that explicitly. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ws.c')
0 files changed, 0 insertions, 0 deletions