Re: [PATCH v3 1/2] t: add a test helper for getting hostname
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 19, 2024, 21:44 UTC
- Message-ID
- <xmqq5xxhnbgg.fsf@gitster.g>
- In-Reply-To
- <20240319211112.GD1159535@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> But we are not testing "includeIf" in this patch; we are testing git-gc, > which falls back to the string "unknown".
Ah, I wasn't aware of such a hardcoded default. Then replacing the existing "hostname" with "test-tool xgethostname" and doing nothing else is of course the right thing to do here.
Thanks.