From: Michael J Gruber Date: Wed, 27 Apr 2011 08:36:26 +0000 (+0200) Subject: t1020: test !alias in subdirectory X-Git-Tag: v1.7.6-rc0~105^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0daed41791373a5530c2b33e09b134ce8820e0c2;p=git.git t1020: test !alias in subdirectory Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- diff --git a/t/t1020-subdirectory.sh b/t/t1020-subdirectory.sh index 1fd187c5e..66e40d38a 100755 --- a/t/t1020-subdirectory.sh +++ b/t/t1020-subdirectory.sh @@ -118,6 +118,17 @@ test_expect_success 'alias expansion' ' git ss ) ' + +test_expect_success '!alias expansion' ' + pwd >expect && + ( + git config alias.test !pwd && + cd dir && + git test >../actual + ) && + test_cmp expect actual +' + test_expect_success 'no file/rev ambiguity check inside .git' ' git commit -a -m 1 && (