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

[PATCH 1/2] t1501: avoid bashisms

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

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