commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject git commit: Improved explanation about git configuration.
Date Tue, 07 Oct 2014 13:27:05 GMT
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 <luc@apache.org>
Authored: Tue Oct 7 15:26:51 2014 +0200
Committer: Luc Maisonobe <luc@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'>


Mime
View raw message