RE: https://fosstodon.org/@robinm/116056737177373004

Need some help with your merge conflicts? Maybe give Mergiraf and Difftastic a try!

#git #mergiraf #difftastic

And going on the same trend, found out about #mergiraf.

I feel like my development workflow is in the future. 😅 It's very small nuances. But these improvements stack on each other. Enough that I don't have to think about the changes as much as before. 😎

https://mergiraf.org/

Introduction - Mergiraf

A syntax-aware git merge driver for a growing collection of programming languages and file formats.

I just found a relatively new tool for syntax-aware diff/merge operations on git repositories ( #Mergiraf ).

Unlike other tools I've tried in the past, this one is also diff3-friendly  .

- https://mergiraf.org/
- https://lwn.net/Articles/1042355/

For the weirdos like me who prefer `rebase` over `merge` this can be a great mood & productivity booster 

Introduction - Mergiraf

A syntax-aware git merge driver for a growing collection of programming languages and file formats.

Mergiraf: syntax-aware merging for Git

The idea of automatic syntax-aware merging in version-control systems goes back to 2005 or ea [...]

LWN.net

New #Mergiraf release with many bug fixes.🦒
https://codeberg.org/mergiraf/mergiraf/releases/tag/v0.16.1

I'm excited about the fact that this release wasn't triggered by me (although it shows as such, because of the API token used in the CI), and that the release process is almost fully automated now (including cross-compilation to many platforms inside #Forgejo Actions!)

Formalizing #governance is nice, but if I'm the only one able to do releases, it defeats the purpose…

Mergiraf 0.16.1 - mergiraf/mergiraf

### 🚀 Features - *(Git)* Support reading language from git attributes (#599) by @mathstuf - *(rust)* Add `derive` attribute as commutative parent (#614) by @vaw - Use tree-sitter-c to parse `.c` files (#634) by @data-man ### 🐛 Bug Fixes - *(toml)* Invalid signature for keys (#607) by ...

Codeberg.org

@cas Have you tried #mergiraf? 🦒 Invaluable tool for such cases.

https://mergiraf.org/

Introduction - Mergiraf

A syntax-aware git merge driver for a growing collection of programming languages and file formats.

#Mergiraf 0.11 is out, with support for #Haskell, #OCaml and #Elixir, better #Rust support, and more! 🦒

And we reached 25 contributors! Really happy how this little project is growing 😊

First real-life application of #mergiraf for me today while rebasing a #nixpkgs PR. There was a ridiculous amount of merge conflicts and nothing I did (manual combing through, code formatting before, using the provided nixfmt merger, ...) could bring me forward. mergiraf didn't break a sweat, it just merged without a twitch. 👍 Invaluable tool! ✨

https://mergiraf.org

#git #nixos

Introduction - Mergiraf

A syntax-aware git merge driver for a growing collection of programming languages and file formats.

#Mergiraf 0.7 is released 🪂 🦒! It includes quite a few bug fixes and UX improvements, so it's worth upgrading :)

https://codeberg.org/mergiraf/mergiraf/releases/tag/v0.7.0
#git #treesitter #codeberg #jujutsu

Mergiraf 0.7.0 - mergiraf/mergiraf

## New languages * Java Properties (`.properties`) (#274 by @wetneb) ## UX improvements * file formats can be selected manually using the new `--language` option (#327 by @mathstuf and @wetneb ) * zdiff3-style conflicts are detected and warned against, as Mergiraf doesn't support solving th...

Codeberg.org

@mdk I'm using [mergiraf](mergiraf.org/) since about 2 months. It's has much fewer false positive than the default line based merge algorithm, but a bit more false negative. It does use tree sitter to compare and merge, a bit like what [difftastic](difftastic.wilfred.me.uk/) does for diffing files.

#treesitter #mergiraf #difftastic