"Jason A. Donenfeld" <ja...@zx2c4.com> wrote:
> In theory, passing around the variable, and not relying on a global,
> is better. It allows us at somepoint to have multiple contexts, for,
> say, implementing FastCGI or an event loop single-process multi
> response model.

This.  I prefer we keep passing around the ctx variable to keep the code
more flexible for future reuse.  Of course, IIRC git itself has this
limitation, too...
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to