1 unstable release
0.3.1 | Nov 13, 2024 |
---|
#1012 in Development tools
213 downloads per month
1MB
8K
SLoC
Mergiraf
A syntax-aware git merge driver for a growing collection of programming languages and file formats.
See the documentation.
License: GPLv3
lib.rs
:
Syntax aware merging of diverging files
Overview
Mergiraf is a structured merge tool. It takes three versions of a file (base, left and right) and produces a fourth version where the changes from base to left and from base to right are added. It does so with awareness of the syntax of the files, unlike Git's built-in line-based merge algorithm.
It is primarily designed to be used as a CLI which implements Git merge driver. This means that it can replace Git's default merge algorithm when merging or rebasing branches.
Using as a library to build other programs
Mergiraf is not designed to be used as a library so far, the Rust API is therefore not meant to be stable.
Dependencies
~90MB
~2.5M SLoC