Commit 946fb8a79ab4d51e97cb324addd262ca482fa7d1
Don't output lines with -vv, since git already does
Charles Lehner committed on 10/11/2016, 1:13:38 AMParent: 4f9c62be9e03d1cbf99abf5bdd52bca0a0c13ab8
Files changed
lib/pkt-line.js | changed |
lib/pkt-line.js | ||
---|---|---|
@@ -68,10 +68,8 @@ | ||
68 | 68 … | |
69 | 69 … | function readUpdate(abort, cb) { |
70 | 70 … | readPackLine(abort, function (end, line) { |
71 | 71 … | if (end) return cb(end) |
72 | - if (options.verbosity >= 2) | |
73 | - console.error('line', line.toString('ascii')) | |
74 | 72 … | if (!line.length) return cb(true) |
75 | 73 … | var args = util.split3(line.toString('ascii')) |
76 | 74 … | var args2 = util.split2(args[2], '\0') |
77 | 75 … | var caps = args2[1] |
@@ -92,10 +90,8 @@ | ||
92 | 90 … | function havesWants(onEnd) { |
93 | 91 … | return function readWant(abort, cb) { |
94 | 92 … | readPackLineStr(abort, function (end, line) { |
95 | 93 … | if (end) return abortCb(cb, end, onEnd) |
96 | - if (options.verbosity >= 2) | |
97 | - console.error('line', line) | |
98 | 94 … | if (line === 'done') return abortCb(cb, true, onEnd) |
99 | 95 … | if (line.length === 0) return cb(null, {type: 'flush-pkt'}) |
100 | 96 … | var args = util.split3(line) |
101 | 97 … | var caps = args[2] |
Built with git-ssb-web