Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/utils/git.js')
-rw-r--r--deps/npm/lib/utils/git.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/utils/git.js b/deps/npm/lib/utils/git.js
index dc021300ea0..4d05c75b867 100644
--- a/deps/npm/lib/utils/git.js
+++ b/deps/npm/lib/utils/git.js
@@ -11,6 +11,7 @@ var which = require('which')
var git = npm.config.get('git')
var assert = require('assert')
var log = require('npmlog')
+var noProgressTillDone = require('./no-progress-while-running.js').tillDone
function prefixGitArgs () {
return process.platform === 'win32' ? ['-c', 'core.longpaths=true'] : []
@@ -19,7 +20,7 @@ function prefixGitArgs () {
function execGit (args, options, cb) {
log.info('git', args)
var fullArgs = prefixGitArgs().concat(args || [])
- return exec(git, fullArgs, options, cb)
+ return exec(git, fullArgs, options, noProgressTillDone(cb))
}
function spawnGit (args, options) {