3 ms·
Git supports merge drivers to do things like this: https://git-scm.com/docs/gitattributes#_defining_a_custom_merge_driver https://git-scm.com/docs/gitattributes
by glandium 8y ago
Git supports merge drivers to do things like this:
https://git-scm.com/docs/gitattributes#_defining_a_custom_merge_driver https://git-scm.com/docs/gitattributes#_defining_a_custom_me...
Debian has had a merge driver for its changelogs for a while:
https://salsa.debian.org/dpkg-team/dpkg/commit/9b98847665d8bdd0bae3c57f289f0e549e9baac4 https://salsa.debian.org/dpkg-team/dpkg/commit/9b98847665d8b...
- barrystaes 8y agoThis! I get that the article's solution technically does remove a merge collision problem, but this adds other non-automatable™ problems that require giving humans special instructions because of the exceptions to the rule. Use standard solutions for standard problems people. And dont do a normal merge if you dont want a normal merge. Dont fight the symptoms, look at the cause.