summaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-06-30 12:59:10 -0400
committerJunio C Hamano <gitster@pobox.com>2014-06-30 13:43:17 -0700
commit592ce20820ac36dd868dfd1e61b1aeb3cd3f902a (patch)
treefbbe421dc052ab1b0feed033569ac23cd29beeeb /strbuf.h
parent26936bfd9bde1ec46901bea3e53d4fb9ae1b4a4c (diff)
downloadgit-592ce20820ac36dd868dfd1e61b1aeb3cd3f902a.tar.gz
index-pack: use strip_suffix to avoid magic numbers
We also switch to using strbufs, which lets us avoid the potentially dangerous combination of a manual malloc followed by a strcpy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strbuf.h')
0 files changed, 0 insertions, 0 deletions