Re: [PATCH 5/5] checkout-index: fix --temp relative path mangling
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 29, 2014, 18:58 UTC
- Message-ID
- <xmqqlhlqz3j1.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1419414196-58587-6-git-send-email-sunshine@sunshineco.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
> Fix this by taking advantage of write_name_quoted_relative() to recover > the original name properly, rather than assuming that it can be > recovered by skipping strlen(prefix) bytes.
Nice; I was wondering if we already had that helper when I saw the initial report of the problem.
Thanks for a nicely constructed series. Will queue.