touch merge change logs
authorMichael Wallner <mike@php.net>
Wed, 15 Sep 2021 13:27:47 +0000 (15:27 +0200)
committerMichael Wallner <mike@php.net>
Wed, 15 Sep 2021 13:27:47 +0000 (15:27 +0200)
.gitattributes [new file with mode: 0644]
git-config.sh [new file with mode: 0755]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..274345e
--- /dev/null
@@ -0,0 +1,3 @@
+/ChangeLog*                                            merge=touch
+/docs/sources/ChangeLog*               merge=touch
+/docs/sources/issues.rst               merge=touch
diff --git a/git-config.sh b/git-config.sh
new file mode 100755 (executable)
index 0000000..3ab3cec
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+git config merge.touch.name = "Keep this file"
+git config merge.touch.driver = "touch %A"