diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-04-24 07:34:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-24 07:34:43 +0200 |
commit | 3749fde561ad495dea74b0d3a13bba571068396d (patch) | |
tree | 7af166ba620df483c4196663a33f682cba3f2447 /t/t2011-checkout-invalid-head.sh | |
parent | Git 1.7.3 (diff) | |
download | git-3749fde561ad495dea74b0d3a13bba571068396d.tar.xz git-3749fde561ad495dea74b0d3a13bba571068396d.zip |
test: use $_z40 from test-lib
There is no need to duplicate the definition of $_z40 and $_x40 that
test-lib.sh supplies the test scripts.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2011-checkout-invalid-head.sh')
-rwxr-xr-x | t/t2011-checkout-invalid-head.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2011-checkout-invalid-head.sh b/t/t2011-checkout-invalid-head.sh index 15ebdc26eb..300f8bf25c 100755 --- a/t/t2011-checkout-invalid-head.sh +++ b/t/t2011-checkout-invalid-head.sh @@ -15,7 +15,7 @@ test_expect_success 'checkout should not start branch from a tree' ' ' test_expect_success 'checkout master from invalid HEAD' ' - echo 0000000000000000000000000000000000000000 >.git/HEAD && + echo $_z40 >.git/HEAD && git checkout master -- ' |