summaryrefslogtreecommitdiff
path: root/Documentation/gitattributes.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-06-09 11:54:58 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-22 11:24:51 -0700
commit2f1d9e2b93e1b7fbfcfa59331db89dd6c76a3505 (patch)
treee94c085b9536fa2d196c546482b9c80dfee6fb0b /Documentation/gitattributes.txt
parentconfig: avoid segfault when parsing command-line config (diff)
downloadtgif-2f1d9e2b93e1b7fbfcfa59331db89dd6c76a3505.tar.xz
strbuf: allow strbuf_split to work on non-strbufs
The strbuf_split function takes a strbuf as input, and outputs a list of strbufs. However, there is no reason that the input has to be a strbuf, and not an arbitrary buffer. This patch adds strbuf_split_buf for a length-delimited buffer, and strbuf_split_str for NUL-terminated strings. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitattributes.txt')
0 files changed, 0 insertions, 0 deletions