Thread (8 messages) flat view 8 messages, 1 author, 2016-06-15
DORMANTno replies

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

From: Nguyễn Thái Ngọc Duy <hidden>
Date: 2016-06-15 22:50:01
Subsystem: the rest · Maintainer: Linus Torvalds

From: Michael J Gruber <redacted>

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

Signed-off-by: Michael J Gruber <redacted>
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help