mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
53 KiB
53 KiB