Git: Define a custom merge driver

Posted . Visible to the public.

The ‘merge.*.driver` variable’s value is used to construct a command to run to merge ancestor’s version, current version and the other branches’ version. The merge driver is expected to leave the result of the merge in the file named with %A by overwriting it, and exit with zero status if it managed to merge them cleanly, or non-zero if there were conflicts.

Last edit
Keywords
git, makandra
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2010-12-22 22:27)