Permalink
Browse files

Do not set GIT_WORK_TREE when updating submodules. This should fix pr…

…oblems with the auto build
  • Loading branch information...
1 parent 03d0100 commit fb90e739d158a4fa3e06badc261a59055806eac4 @zaach zaach committed Dec 6, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/git.js
View
@@ -129,7 +129,6 @@ exports.updateSubmodules = function(dir, pr, cb) {
var p = spawn('git', [ 'submodule', 'update', '--init', '--recursive'], {
env: getEnv({
GIT_DIR: path.join(dir, ".git"),
- GIT_WORK_TREE: dir,
PWD: dir
}),
cwd: dir

0 comments on commit fb90e73

Please sign in to comment.