git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Eric Sunshine
Message 8 of 8 in “resolve checkout-index --temp path mangling”
  1. 0/5 resolve checkout-index --temp path manglingEric Sunshine, Dec 24, 2014
  2. 1/5 t2004: modernize styleEric Sunshine, Dec 24, 2014
  3. 2/5 t2004: drop unnecessary write-tree/read-treeEric Sunshine, Dec 24, 2014
  4. 3/5 t2004: standardize file naming in symlink testEric Sunshine, Dec 24, 2014
  5. 4/5 t2004: demonstrate broken relative path printingEric Sunshine, Dec 24, 2014
  6. 5/5 checkout-index: fix --temp relative path manglingEric Sunshine, Dec 24, 2014
  7. Eric SunshineDec 28, 2014
  8. Junio C HamanoDec 29, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.