Re: premature exits bork cache

2016-02-26 Thread Jason A. Donenfeld
Ahh, good point. There are a couple more calls to exit that I'm investigating. This is certainly not the nicest way to handle things... ___ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit

Re: premature exits bork cache

2016-02-26 Thread John Keeping
On Fri, Feb 26, 2016 at 01:29:21PM +0100, Jason A. Donenfeld wrote: > When caching is turned on, if we exit(0) early from a cmd, the cache > won't be properly finalized (or even sent), and we get a server error > because of blank output. I just fixed this bug with redirect: > > https://git.zx2c4.c

premature exits bork cache

2016-02-26 Thread Jason A. Donenfeld
Hi guys, When caching is turned on, if we exit(0) early from a cmd, the cache won't be properly finalized (or even sent), and we get a server error because of blank output. I just fixed this bug with redirect: https://git.zx2c4.com/cgit/commit/?id=e9cbdf64632fbe64d6b0c4974ac947ef954938e7 This is