Hi Junio,
On 2015-06-22 06:21, Junio C Hamano wrote:
> On Fri, Jun 19, 2015 at 6:35 AM, Johannes Schindelin
> wrote:
>>
>> @@ -227,6 +277,10 @@ static int report(struct fsck_options *options, struct
>> object *object,
>> if (msg_type == FSCK_IGNORE)
>> return 0;
>>
>> +
On Fri, Jun 19, 2015 at 6:35 AM, Johannes Schindelin
wrote:
>
> @@ -227,6 +277,10 @@ static int report(struct fsck_options *options, struct
> object *object,
> if (msg_type == FSCK_IGNORE)
> return 0;
>
> + if (options->skiplist && object &&
> +
Johannes Schindelin writes:
> There is a problem, though: `git_config_pathname()` accepts a
> `const char **` parameter to set the path, yet I need to `free()`
> that pointer afterwards because it has been obtained through
> `expand_user_path()` which detaches that buffer from a `strbuf`.
"I hav
Hi Junio,
On 2015-06-19 22:39, Junio C Hamano wrote:
> Johannes Schindelin writes:
>
>> +if (strcmp(var, "receive.fsck.skiplist") == 0) {
>> +const char *path = is_absolute_path(value) ?
>> +value : git_path("%s", value);
>
> This "either absolute or inside $
Johannes Schindelin writes:
> + if (strcmp(var, "receive.fsck.skiplist") == 0) {
> + const char *path = is_absolute_path(value) ?
> + value : git_path("%s", value);
This "either absolute or inside $GIT_DIR" looks somewhat strange to
me. Shouldn't we mimick wh
The optional new config option `receive.fsck.skiplist` specifies the path
to a file listing the names, i.e. SHA-1s, one per line, of objects that
are to be ignored by `git receive-pack` when `receive.fsckObjects = true`.
This is extremely handy in case of legacy repositories where it would
cause m
6 matches
Mail list logo