Browse Source

t1020: test !alias in subdirectory

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael J Gruber 14 years ago committed by Junio C Hamano
parent
commit
0daed41791
  1. 11
      t/t1020-subdirectory.sh

11
t/t1020-subdirectory.sh

@ -118,6 +118,17 @@ test_expect_success 'alias expansion' ' @@ -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 &&
(

Loading…
Cancel
Save