mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
t1020: test !alias in subdirectory
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ec014eac0e
commit
0daed41791
@ -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…
Reference in New Issue
Block a user