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>
Michael J Gruber committed
Nov 26, 2010 at 22:32 UTC
101662c22518de4abfbd5b2fc38b3ec1fa638494
1 file changed
+8
t/t1020-subdirectory.sh
+8
@@ -110,6 +110,14 @@ test_expect_success 'read-tree' '
110
)
111
'
112
113
+test_expect_success 'alias expansion' '
114
+ (
115
+ git config alias.ss status &&
116
+ cd dir &&
117
+ git status &&
118
+ git ss
119
+ )
120
+'
121
test_expect_success 'no file/rev ambiguity check inside .git' '
122
git commit -a -m 1 &&
123
(