Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-05-22 03:09:51 +0400
committerJunio C Hamano <gitster@pobox.com>2012-05-22 20:07:52 +0400
commite21ab1340a1a22f017e9c3e4fc0deb9f4de36917 (patch)
tree79aa205abb447741af4347d2da97db7b9b2153f4 /cache.h
parent5cb2194aba3c6828cec3e4ec75d78f49165e2eab (diff)
fmt-merge-msg: don't use static buffer in record_person
The record_person function just parses out the "name" field of the person line in a commit and adds it to a string_list. The only reason we need an extra buffer is that the string_list functions require a NUL-terminated string. Instead of the static buffer, we can just allocate a temporary NUL-terminated copy. In addition to removing a useless limit, this removes the only user of MAX_GITNAME outside of ident.c. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions