git ssb

0+

cel / pull-git-remote-helper



Commit 63c93377c19466e121eaad5590e88488ac8fe5ee

Work around stack overflow

Charles Lehner committed on 2/19/2016, 3:26:59 AM
Parent: 7f29ddd9bfe74de11a253a3174249aa55d48e722

Files changed

lib/pack.jschanged
lib/pack.jsView
@@ -58,9 +58,12 @@
5858 cb(null, dataOut)
5959 else if (ended)
6060 cb(ended)
6161 else
62- read(null, next)
62+ // let the stack unwind
63+ setImmediate(function () {
64+ read(null, next)
65+ })
6366 })
6467 }
6568 }
6669

Built with git-ssb-web