You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2014/10/07 15:27:05 UTC
git commit: Improved explanation about git configuration.
Repository: commons-math
Updated Branches:
refs/heads/master a67f0a33e -> deb5e5298
Improved explanation about git configuration.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/deb5e529
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/deb5e529
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/deb5e529
Branch: refs/heads/master
Commit: deb5e5298f2f840e31ee67de1b6fac19483b5730
Parents: a67f0a3
Author: Luc Maisonobe <lu...@apache.org>
Authored: Tue Oct 7 15:26:51 2014 +0200
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Tue Oct 7 15:26:51 2014 +0200
----------------------------------------------------------------------
src/site/xdoc/developers.xml | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/deb5e529/src/site/xdoc/developers.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/developers.xml b/src/site/xdoc/developers.xml
index 7db17fe..4be1320 100644
--- a/src/site/xdoc/developers.xml
+++ b/src/site/xdoc/developers.xml
@@ -154,12 +154,18 @@
<p>
Committers should configure the <source>user.name</source>,
<source>user.email</source> and <source>core.autocrlf</source>
- git repository or global options with <source>git config</source>.
- The first two options set the identity and mail of the committer.
- The third option deals with line endings to achieve consistency
- in line endings. Windows users should configure this option to
- <source>true</source> while OS X and Linux users should configure
- it to <source>input</source>.
+ git repository or global settings with <source>git config</source>.
+ 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
+ <source>true</source> (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 <source>input</source>
+ (thus forcing git to only strip accidental CR/LF when committing into
+ the repository, but never when cheking out files from the repository). See <a
+ href="http://www.git-scm.com/book/en/Customizing-Git-Git-Configuration">Customizing
+ Git - Git Configuration</a> in the git book for explanation about how to
+ configure these settings and more.
</p>
</subsection>
<subsection name='Documentation'>