Re: [PATCH v6 18/19] fsck: git receive-pack: support excluding objects from fsck'ing
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 19, 2015, 20:39 UTC
- Message-ID
- <xmqqwpyz5t66.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <e843f9f1defca543d3f2eb3143cf9fee8c72f695.1434720655.git.johannes.schindelin@gmx.de>
Johannes Schindelin <johannes.schindelin@gmx.de> 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 what "git config --path" does instead?