diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2010-11-26 22:32:37 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-22 14:34:24 -0800 |
commit | 101662c22518de4abfbd5b2fc38b3ec1fa638494 (patch) | |
tree | b08ffde888c931560ca52e5e418342768a85fc0f | |
parent | 1cd8031b2d2e937239918a3a498b1b217a198cc1 (diff) | |
download | git-101662c22518de4abfbd5b2fc38b3ec1fa638494.tar.gz git-101662c22518de4abfbd5b2fc38b3ec1fa638494.tar.xz |
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>
-rwxr-xr-x | 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 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 && ( |