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

Re: [PATCH v7 3/3] diff: generate pretty filenames in prep_temp_blob()

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jun 2, 2009, 07:04 UTC
Message-ID
<4A24CEE8.4090702@viscovery.net>
In-Reply-To
<1243758952-28972-3-git-send-email-davvid@gmail.com>
David Aguilar schrieb:
Show 10 quoted lines
> Naturally, prep_temp_blob() did not care about filenames.
> As a result, GIT_EXTERNAL_DIFF and textconv generated
> filenames such as ".diff_XXXXXX".
> 
> This modifies prep_temp_blob() to generate user-friendly
> filenames when creating temporary files.
> 
> Diffing "name.ext" now generates "XXXXXX_name.ext".
> 
> Signed-off-by: David Aguilar <davvid@gmail.com>
This series (as per 003b33a from Junio's pu):
Tested-by: Johannes Sixt <j6t@kdbg.org> (Windows)
-- Hannes
Previous: David AguilarNext: Junio C Hamano
Message 4 of 5 in “compat: add a mkstemps() compatibility function”
  1. 1/3 compat: add a mkstemps() compatibility functionDavid Aguilar, May 31, 2009
  2. 2/3 compat: add a basename() compatibility functionDavid Aguilar, May 31, 2009
  3. 3/3 diff: generate pretty filenames in prep_temp_blob()David Aguilar, May 31, 2009
  4. Johannes SixtJun 2, 2009
  5. Junio C HamanoJun 1, 2009

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.