From: Michael J Gruber Date: Fri, 26 Nov 2010 15:32:37 +0000 (+0700) Subject: t1020-subdirectory: test alias expansion in a subdirectory X-Git-Tag: v1.7.4-rc0~4^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=101662c22518de4abfbd5b2fc38b3ec1fa638494;p=git.git 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 Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/t/t1020-subdirectory.sh b/t/t1020-subdirectory.sh index a3ac33801..1fd187c5e 100755 --- a/t/t1020-subdirectory.sh +++ b/t/t1020-subdirectory.sh @@ -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 && (