lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 6d76e57 3/4: Set git core.filemode for msw (c


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6d76e57 3/4: Set git core.filemode for msw (cygwin)
Date: Sat, 11 Nov 2017 18:29:34 -0500 (EST)

branch: master
commit 6d76e5740b2ee5386c536cf6b77aaca30858e0f3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Set git core.filemode for msw (cygwin)
---
 gwc/develop2.txt | 6 ++++++
 install_msw.sh   | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/gwc/develop2.txt b/gwc/develop2.txt
index 993b4c9..4d5bca5 100644
--- a/gwc/develop2.txt
+++ b/gwc/develop2.txt
@@ -3,6 +3,12 @@
   # Discussed in detail here:
   #   http://lists.nongnu.org/archive/html/lmi/2016-03/msg00031.html
 
+  # First of all, to avoid agony, do the following for msw (cygwin)
+  # only, for the reasons given here:
+  #   https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html
+
+git config --global core.fileMode false
+
   # Initial setup: create a working copy, cloned from the
   # already-provided "blessed" repo...
 
diff --git a/install_msw.sh b/install_msw.sh
index 2830f0c..b93a6b9 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -106,6 +106,11 @@ then
     #   https://lists.nongnu.org/archive/html/lmi/2016-01/msg00092.html
     export CYGCHECK=`cygpath --mixed /usr/bin/cygcheck`
     cmd /c $CYGCHECK -s -v -r | tr --delete '\r'
+
+    # 'core.fileMode' rationale:
+    #   https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html
+
+    git config --global core.fileMode false
 fi
 
 java -version



reply via email to

[Prev in Thread] Current Thread [Next in Thread]