package merge-fmt

  1. Overview
  2. Docs
Git mergetool leveraging code formatters

Install

Dune Dependency

Authors

Maintainers

Sources

merge-fmt-0.1.tbz
md5=c9d91ece7d70f1335945d97cd0be13e3

Description

merge-fmt is a small wrapper on top git commands to help resolve conflicts by leveraging code formatters.

Published: 19 Feb 2019

README

Merge-fmt - git mergetool leveraging code formatters

WARNING: This tool is still experimental.

merge-fmt is a small wrapper on top git commands to help resolve conflicts by leveraging code formatters.

merge-fmt currently only knows about the following formatters:

Note that supporting new code formatters is trivial.

Getting starting

There are two ways to use merge-fmt.

Standalone

Just call merge-fmt while there are unresolved conflicts. merge-fmt will try resolve conflicts automatically.

As a Git mergetool

merge-fmt can act as a git mergetool. First configure the current git repository with merge-fmt mergetool-setup --update Then, use git mergetool to resolve conflicts with git mergetool -t mergefmt

Install

$ opam pin add merge-fmt git@github.com:hhugo/merge-fmt.git

Dependencies (5)

  1. stdio
  2. base
  3. cmdliner
  4. dune >= "1.6"
  5. ocaml >= "4.06.1"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.