git ssb

0+

cel / pull-git-remote-helper



Commit 46d2baae8f82e8765ce3682a4ff96b62a3fdd1d1

Whitespace

Charles Lehner committed on 2/18/2016, 9:12:18 PM
Parent: a53fb68ffb75c9fc0ff72ebbe56746e37f323cdc

Files changed

lib/pack.jschanged
lib/pack.jsView
@@ -224,14 +224,14 @@
224224
225225 function encodeVarInt(typeStr, length, cb) {
226226 var type = objectTypeNums[typeStr]
227227 // console.error('TYPE', type, typeStr, 'len', length, typeof cb)
228- if (!type)
228+ if (!type)
229229 return cb(new Error("Bad object type " + typeStr))
230230
231231 var vals = []
232232 var b = (type << 4) | (length & 15)
233- for (length >>= 4; length; length >>= 7) {
233+ for (length >>= 4; length; length >>= 7) {
234234 vals.push(b | 0x80)
235235 b = length & 0x7f
236236 }
237237 vals.push(b)

Built with git-ssb-web