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

Re: What's cooking in git.git (Oct 2018, #04; Fri, 19)

From
Johannes Sixt <j6t@kdbg.org>
Date
Oct 19, 2018, 17:55 UTC
Message-ID
<2893a226-cbde-9ca6-fa97-cfc981bd57bd@kdbg.org>
In-Reply-To
<xmqq8t2u1nkh.fsf@gitster-ct.c.googlers.com>
Am 19.10.18 um 08:02 schrieb Junio C Hamano:
Show 6 quoted lines
> * js/diff-notice-has-drive-prefix (2018-10-19) 1 commit
>   - diff: don't attempt to strip prefix from absolute Windows paths
> 
>   "git diff /a/b/c /a/d/f" noticed these are full paths with shared
>   leading prefix "/a", but failed to notice a similar fact about "git
>   diff D:/a/b/c D:/a/d/f", which has been corrected.

This patch isn't about a misdetected leading prefix, but about incorrectly truncated absolute paths. How about:

   Under certain circumstances, "git diff D:/a/b/c D:/a/b/d" on
   Windows would strip initial parts from the paths because they
   were not recognized as absolute, which has been corrected.
>   Want tests.
I've sent v2 with a test.
-- Hannes
Previous: Derrick Stolee
Message 8 of 8 in “What's cooking in git.git (Oct 2018, #04; Fri, 19)”
  1. Junio C HamanoOct 19, 2018
  2. SZEDER GáborOct 19, 2018
  3. Alban GruinOct 19, 2018
  4. Alban GruinOct 20, 2018
  5. Junio C HamanoOct 20, 2018
  6. Johannes SchindelinOct 22, 2018
  7. Derrick StoleeOct 19, 2018
  8. Johannes SixtOct 19, 2018

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.