Skip to content

Commit

Permalink
t1020-subdirectory: test alias expansion in a subdirectory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Dec 22, 2010
1 parent 1cd8031 commit 101662c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions t/t1020-subdirectory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
(
Expand Down

0 comments on commit 101662c

Please sign in to comment.