git ssb

0+

cel / pull-git-remote-helper



Commit 4435fc8900324c433d7c0e31c8a5bda3a5ee53e0

Disable broken progress bar on fetch

Charles Lehner committed on 8/10/2016, 6:34:25 PM
Parent: c69e18996178106c803a6378a0366dc392486c59

Files changed

index.jschanged
index.jsView
@@ -143,14 +143,15 @@
143143 if (!hasWants) return cb(true)
144144 if (options.verbosity >= 2) {
145145 console.error('common', commonHash, 'wants', wants)
146146 }
147 + // TODO: show progress during getObjects
147148 getObjects(repo, commonHash, wants, shallows,
148149 function (err, numObjects, readObjects) {
149150 if (err) return cb(err)
150- var progress = progressObjects(options)
151- progress.setNumObjects(numObjects)
152- sendPack = pack.encode(options, numObjects, progress(readObjects))
151 + // var progress = progressObjects(options)
152 + // progress.setNumObjects(numObjects)
153 + sendPack = pack.encode(options, numObjects, readObjects)
153154 if (options.verbosity >= 1) {
154155 console.error('retrieving', numObjects, 'git objects')
155156 }
156157 sendPack(null, cb)

Built with git-ssb-web