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>2015-01-13 04:58:33 +0300
committerJunio C Hamano <gitster@pobox.com>2015-01-13 21:03:40 +0300
commiteaa541eb59aefa2c5e9e160c36a259d372c25711 (patch)
treef6fc71bdcff03eb105a32bcfbb3b4833a48a0e52 /walker.c
parent444069078687fc00586824a21eff9758fc4d0625 (diff)
builtin/commit.c: use xstrdup_or_null instead of envdup
The only reason for envdup to be its own function is that we have to save the result in a temporary string. With xstrdup_or_null, we can feed the result of getenv() directly. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'walker.c')
0 files changed, 0 insertions, 0 deletions