Skip to content

Commit

Permalink
t1020: test !alias in subdirectory
Browse files Browse the repository at this point in the history
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Apr 27, 2011
1 parent ec014ea commit 0daed41
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions t/t1020-subdirectory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
(
Expand Down

0 comments on commit 0daed41

Please sign in to comment.