Subject: [PATCH 1/7] t1020-subdirectory: test alias expansion in a subdirectory

From: Nguyễn Thái Ngọc Duy <[email-masked]>
Date: Thu, 11 Nov 2010 21:20:42 +0700

From: Michael J Gruber <[email-masked]>

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

Signed-off-by: Michael J Gruber <[email-masked]>
Signed-off-by: Nguyễn Thái Ngọc Duy <[email-masked]>
---
 t/t1020-subdirectory.sh |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/t/t1020-subdirectory.sh b/t/t1020-subdirectory.sh
index a3ac338..1fd187c 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 &&
 	(
-- 
1.7.3.2.210.g045198