Hi,
It looks like commit 57ea7123c86771f47f34e7d92d1822d8b429897a (git.c:
make sure we do not leak GIT_* to alias scripts, Dec 20 14:50:19 2015)
broke "./t0001-init.sh --valgrind".
I get:
expecting success:
(
env | sed -ne "/^GIT_/s/=.*//p" &&
echo GIT_PREFIX && # setup.c
echo GIT_TEXTDOMAINDIR # wrapper-for-bin.sh
) | sort | uniq >expected &&
cat <<-\EOF >script &&
#!/bin/sh
env | sed -ne "/^GIT_/s/=.*//p" | sort >actual
exit 0
EOF
chmod 755 script &&
git config alias.script \!./script &&
( mkdir sub && cd sub && git script ) &&
test_cmp expected actual
--- expected 2016-03-03 00:05:17.113754381 +0000
+++ actual 2016-03-03 00:05:19.041783583 +0000
@@ -10,7 +10,6 @@
GIT_PREFIX
GIT_TEMPLATE_DIR
GIT_TEST_TEE_STARTED
-GIT_TEXTDOMAINDIR
GIT_TRACE_BARE
GIT_VALGRIND
GIT_VALGRIND_ENABLED
not ok 6 - No extra GIT_* on alias scripts
It's late here so I don't have time to work on this tonight.
Thanks,
Christian.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html