try to avoid merge conflicts in GitInfo.txt (#5715)
authorStephane Delcroix <stephane@delcroix.org>
Wed, 3 Apr 2019 06:49:40 +0000 (08:49 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2019 06:49:40 +0000 (08:49 +0200)
.gitattributes
.gitconfig [new file with mode: 0644]

index f724967..408b573 100644 (file)
@@ -15,3 +15,6 @@
 
 # Always checkout docs using unix line endings because mdoc uses unix line endings even on windows
 /docs/**/*.xml text eol=lf
+
+# avoid overriding GitInfo.txt on merge
+GitInfo.txt merge=ours
diff --git a/.gitconfig b/.gitconfig
new file mode 100644 (file)
index 0000000..4a8fc6b
--- /dev/null
@@ -0,0 +1,2 @@
+[merge "ours"]
+    driver = true