RFC: replace 'unsigned char sha1[20]' with 'struct object_id oid'

2016-09-29 Thread Christian Hesse
Hello everybody, upstream git is replacing 'unsigned char sha1[20]' with 'struct object_id oid'. We have some code that can be changed independent from upstream. So here we go... The following changes since commit 11695a58fd732689be486edf88d145578a787c89: git: update to v2.10.0 (2016-09-04

Re: [PATCH] Simplify http_parse_querystring()

2016-09-29 Thread Jason A. Donenfeld
This looks sane to me. It results in more allocations, but I think that's a moot point compared to the nice code simplifications and deduplication. ___ CGit mailing list CGit@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/cgit

SIGPIPE from syntax highlighting filter if highlight is not available

2016-09-29 Thread Vadim Zeitlin
Hello, As this is the first time I'm posting here, let me start by thanking you for developing cgit! I'm using it since quite some time under Debian (currently Jessie) and it works very well but recently I've mistakenly removed highlight package because I thought it was redundant with other