Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

breezy-team/smartmerge

Repository files navigation

Smartmerge

Smartmerge is a Python library and command-line tool that can do file format-aware three way merges.

It primarily does this by detecting file formats and invoking other tools.

Currently supported file formats:

  • GNU ChangeLog
  • debian/changelog
  • po files
  • Bazaar-style NEWS files

Usage in Git

To install, simply run:

$ smartmerge --install --git

This defines smartmerge as a custom merge driver inside of git, by adding the following to your ~/.gitconfig:

[merge "smartmerge"]
  name = smartmerge
  driver = smartmerge --git %A %B %O --target=%P

It then enables the driver for relevant files by registering it for use for specific files:

debian/changelog  merge=smartmerge

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published