pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap README.Cygwin: if using git, make sure to ch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8da1928b2118
branches:  trunk
changeset: 389602:8da1928b2118
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Dec 06 15:22:18 2022 +0000

description:
README.Cygwin: if using git, make sure to checkout with Unix line endings.

diffstat:

 bootstrap/README.Cygwin |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 1c3757761c03 -r 8da1928b2118 bootstrap/README.Cygwin
--- a/bootstrap/README.Cygwin   Tue Dec 06 15:03:40 2022 +0000
+++ b/bootstrap/README.Cygwin   Tue Dec 06 15:22:18 2022 +0000
@@ -1,9 +1,23 @@
-$NetBSD: README.Cygwin,v 1.2 2016/07/03 15:16:47 sevan Exp $
+$NetBSD: README.Cygwin,v 1.3 2022/12/06 15:22:18 schmonz Exp $
 
 Please read the general README file as well.
 
 ==========================================================================
 
+If fetching pkgsrc via git, make sure you get it with Unix line endings:
+
+       $ git clone https://github.com/NetBSD/pkgsrc.git \
+           --config core.eol=lf \
+           --config core.autocrlf=input
+
+If you've already fetched pkgsrc without these options, fix up the line
+endings now:
+
+       $ cd pkgsrc
+       $ git config core.eol lf
+       $ git config core.autocrlf input
+       $ git checkout-index --force --all
+
 pkgsrc supports both gcc (GNU Compiler Collection) and clang (C Language Family
 Frontend for LLVM). gcc is the default.
 



Home | Main Index | Thread Index | Old Index