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

Mergiraf: a generic syntax-aware merge driver

From
Antonin Delpeuch <antonin@delpeuch.eu>
Date
Nov 9, 2024, 11:35 UTC
Message-ID
<a79eaccd-f309-4f62-a243-f8fdfd0f0e86@delpeuch.eu>
Hello all,

I hope it's okay to share this here: I made https://mergiraf.org, a git merge driver which understands the syntax of the files it merges. It's a bit like difftastic, but for merging. Language support relies on tree-sitter parsers and some more declarative settings on top, to make it easy to add support for more languages and formats (only a dozen so far).

Needless to say, it's just off the press and an early prototype, so it's bound to behave inadequately in some cases. I have tried to make it easy to review its work to avoid bad merges.

I'd be happy for any feedback and suggestions on it.
Cheers,
Antonin
Message 1 of 1 in “Mergiraf: a generic syntax-aware merge driver”
  1. Antonin DelpeuchNov 9, 2024

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.