Browse Source

t1020-subdirectory: test alias expansion in a subdirectory

Add a test for alias expansion in a subdirectory of the worktree.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael J Gruber 14 years ago committed by Junio C Hamano
parent
commit
101662c225
  1. 8
      t/t1020-subdirectory.sh

8
t/t1020-subdirectory.sh

@ -110,6 +110,14 @@ test_expect_success 'read-tree' ' @@ -110,6 +110,14 @@ test_expect_success 'read-tree' '
)
'

test_expect_success 'alias expansion' '
(
git config alias.ss status &&
cd dir &&
git status &&
git ss
)
'
test_expect_success 'no file/rev ambiguity check inside .git' '
git commit -a -m 1 &&
(

Loading…
Cancel
Save