Signed-off-by: Nguyán ThÃi Ngác Duy <pclouds@xxxxxxxxx> --- t/t1501-worktree.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/t/t1501-worktree.sh b/t/t1501-worktree.sh index 2c8f01f..488160e 100755 --- a/t/t1501-worktree.sh +++ b/t/t1501-worktree.sh @@ -322,7 +322,10 @@ test_expect_success 'git grep' ' test_expect_success 'git commit' ' ( cd repo.git && - GIT_DIR=. GIT_WORK_TREE=work git commit -a -m done + GIT_DIR=. && + GIT_WORK_TREE=work && + export GIT_DIR GIT_WORK_TREE && + git commit -a -m done ) ' -- 1.7.3.4.878.g439c7 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html