<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/environment.h, branch v2.35.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.35.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.35.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-01-15T21:03:45Z</updated>
<entry>
<title>environment: make `getenv_safe()` a public function</title>
<updated>2021-01-15T21:03:45Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2021-01-12T12:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b9d147fb150c5e0960bc43ad5f3f843487f816f7'/>
<id>urn:sha1:b9d147fb150c5e0960bc43ad5f3f843487f816f7</id>
<content type='text'>
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 &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
