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

Re: [PATCH] userdiff: add support for Swift

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 17, 2026, 16:27 UTC
Message-ID
<xmqqy0f94m5l.fsf@gitster.g>
In-Reply-To
<20260717140232.6722-1-diy2903@gmail.com>
Shlok Kulshreshtha <diy2903@gmail.com> writes:
> Add a built-in userdiff driver for the Swift programming language so that
> diff hunk headers and word diffs work out of the box for ".swift" files.

I do not work with this language myself, so I have no idea how well the pattern proposed here matches real-world code. Will queue, but it needs reviews and validaion from active Swift users before it can advance to 'next' and eventually to a future Git release.

Thanks.
Previous: Shlok KulshreshthaNext: Johannes Sixt
Message 2 of 12 in “userdiff: add support for Swift”
  1. userdiff: add support for SwiftShlok Kulshreshtha, Jul 17, 2026
  2. Junio C HamanoJul 17, 2026
  3. Johannes SixtJul 18, 2026
  4. Junio C HamanoJul 20, 2026
  5. Johannes SixtJul 20, 2026
  6. Shlok KulshreshthaJul 20, 2026
  7. userdiff: add support for SwiftShlok Kulshreshtha, Jul 21, 2026
  8. Junio C HamanoJul 21, 2026
  9. Johannes SixtJul 23, 2026
  10. Michael MontalboJul 27, 2026
  11. Johannes SixtJul 27, 2026
  12. Michael MontalboJul 27, 2026

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.