On 27.03.2012 19:18, Junio C Hamano wrote:
Ivan Todoroski <grnch@xxxxxxx> writes:
+ strbuf_init(&preamble, 4);
Curious.
If "4" does not really matter, I would drop this and use STRBUF_INIT at
the beginning instead.
I only put 4 because I know the strbuf will always have at least 4
bytes, because it always includes a flush packet. It doesn't matter at
all otherwise, I will do as you suggest.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html