From 2998aa2312edd158b95f227d915ad400e699eba1 Mon Sep 17 00:00:00 2001
From: Gilles Sadowski
Date: Sat, 17 Dec 2022 22:22:08 +0100
Subject: [PATCH] Add ".gitattributes".
Update contributor guidelines.
---
.gitattributes | 2 ++
src/site/xdoc/developers.xml | 17 +++++------------
2 files changed, 7 insertions(+), 12 deletions(-)
create mode 100644 .gitattributes
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..db173deb6
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+* text=auto
+*.patch -text
diff --git a/src/site/xdoc/developers.xml b/src/site/xdoc/developers.xml
index 25b4fbfff..386a71fb3 100644
--- a/src/site/xdoc/developers.xml
+++ b/src/site/xdoc/developers.xml
@@ -152,18 +152,11 @@
Please make sure to set your IDE or editor to use spaces instead of tabs.
- Committers should configure the user.name,
- user.email and core.autocrlf
- git repository or global settings with git config.
- The first two settings define the identity and mail of the committer.
- The third setting deals with line endings to achieve consistency
- in line endings. Windows users should configure this setting to
- true (thus forcing git to convert CR/LF line endings
- in the workspace while maintaining LF only line endings in the repository)
- while OS X and Linux users should configure it to input
- (thus forcing git to only strip accidental CR/LF when committing into
- the repository, but never when cheking out files from the repository). See Customizing
+ Committers should configure the user.name and
+ user.email and git repository (or global) settings
+ with git config.
+ They define the identity and mail of the committer.
+ See Customizing
Git - Git Configuration in the git book for explanation about how to
configure these settings and more.