diff options
author | Jeff King <peff@peff.net> | 2015-01-12 20:58:33 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-13 10:03:40 -0800 |
commit | eaa541eb59aefa2c5e9e160c36a259d372c25711 (patch) | |
tree | f6fc71bdcff03eb105a32bcfbb3b4833a48a0e52 /t/t5702-clone-options.sh | |
parent | builtin/apply.c: use xstrdup_or_null instead of null_strdup (diff) | |
download | tgif-eaa541eb59aefa2c5e9e160c36a259d372c25711.tar.xz |
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 't/t5702-clone-options.sh')
0 files changed, 0 insertions, 0 deletions