diff options
author | Jeff King <peff@peff.net> | 2020-01-30 04:52:19 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-30 13:45:58 -0800 |
commit | 9734b74a8f9e327e02762024596961209cf989d5 (patch) | |
tree | e19e2f23b67a04d6ba2aac53699e2b5b98501663 /compat | |
parent | Git 2.25 (diff) | |
download | tgif-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 'compat')
0 files changed, 0 insertions, 0 deletions