summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2021-01-12 13:27:10 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-15 13:03:45 -0800
commitb9d147fb150c5e0960bc43ad5f3f843487f816f7 (patch)
tree0f5186d384a95ed361a66afcb0940e784bde42ab /config.c
parentconfig: store "git -c" variables using more robust format (diff)
downloadtgif-b9d147fb150c5e0960bc43ad5f3f843487f816f7.tar.xz
environment: make `getenv_safe()` a public function
The `getenv_safe()` helper function helps to safely retrieve multiple environment values without the need to depend on platform-specific behaviour for the return value's lifetime. We'll make use of this function in a following patch, so let's make it available by making it non-static and adding a declaration. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
0 files changed, 0 insertions, 0 deletions