]> git.ipfire.org Git - thirdparty/git.git/commit - wrap-for-bin.sh
wrap-for-bin: do not export an empty GIT_TEMPLATE_DIR
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Mar 2010 00:27:03 +0000 (16:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Mar 2010 00:27:03 +0000 (16:27 -0800)
commit160ad147fe9f644fc35224095e1d1a01be0208de
treec25abb5c7a1147918763031b0c1b69ba5af3fcfd
parenta94d305bf8043a7a0579037c7e52e632613410f7
wrap-for-bin: do not export an empty GIT_TEMPLATE_DIR

With bash on some platforms (e.g. FreeBSD 8.0), exporting an unset
variable does not "unexport" it.  The called process gets an empty
string from getenv(3) instead of NULL.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
wrap-for-bin.sh