Re: [PATCH v2 04/18] fsck: Offer a function to demote fsck errors to warnings

2015-01-21 Thread Johannes Schindelin
Hi Junio, On 2015-01-21 09:49, Junio C Hamano wrote: Johannes Schindelin johannes.schinde...@gmx.de writes: +static inline int substrcmp(const char *string, int len, const char *match) +{ +int match_len = strlen(match); +if (match_len != len) +return -1; +return

Re: [PATCH v2 04/18] fsck: Offer a function to demote fsck errors to warnings

2015-01-21 Thread Junio C Hamano
Johannes Schindelin johannes.schinde...@gmx.de writes: +static inline int substrcmp(const char *string, int len, const char *match) +{ + int match_len = strlen(match); + if (match_len != len) + return -1; + return memcmp(string, match, len); +} Is this what we call

[PATCH v2 04/18] fsck: Offer a function to demote fsck errors to warnings

2015-01-19 Thread Johannes Schindelin
There are legacy repositories out there whose older commits and tags have issues that prevent pushing them when 'receive.fsckObjects' is set. One real-life example is a commit object that has been hand-crafted to list two authors. Often, it is not possible to fix those issues without disrupting