aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-29 10:08:29 +0300
committerEli Zaretskii2015-09-29 10:08:29 +0300
commit50e844ce73f4c4287877816fa7753ef4930ed55c (patch)
tree09fe21f84f556368600deb9006602c1bf61aa4c3
parent8b95ee49bc1d632a34230b367be53a97060ebe7e (diff)
downloademacs-50e844ce73f4c4287877816fa7753ef4930ed55c.tar.gz
emacs-50e844ce73f4c4287877816fa7753ef4930ed55c.zip
* nt/INSTALL: Add instructions for installing Git.
-rw-r--r--nt/INSTALL46
1 files changed, 44 insertions, 2 deletions
diff --git a/nt/INSTALL b/nt/INSTALL
index da150407b39..446f2f8e93a 100644
--- a/nt/INSTALL
+++ b/nt/INSTALL
@@ -75,6 +75,48 @@ build will run on Windows 9X and newer systems).
75 If these short instructions somehow fail, read the rest of this 75 If these short instructions somehow fail, read the rest of this
76 file. 76 file.
77 77
78* Installing Git for Windows
79
80 Skip this section if you already have Git installed and configured,
81 or if you are building from the release tarball, not from the
82 development repository.
83
84 Git for Windows is available from this download page:
85
86 https://github.com/git-for-windows/git/releases
87
88 That page offers both 32-bit and 64-bit installations; pick the one
89 suitable for your OS. In general, we recommend to install a 64-bit
90 Git if you have a 64-bit Windows system; the 32-bit Git will run on
91 64-bit Windows just fine, but might run into memory problems where
92 the 64-bit Git won't.
93
94 During Git installation, be sure to select the "Checkout as-is,
95 commit as-is" option from the "Configure line ending conversions"
96 dialog. Otherwise, Git will convert text files to DOS-style CRLF
97 end-of-line (EOL) format, which will cause subtle problems when
98 building Emacs, because MSYS tools (see below) used to build Emacs
99 use binary file I/O that preserves the CR characters that get in the
100 way of some text-processing tools, like 'makeinfo' and the commands
101 invoked by the autogen.sh script.
102
103 If you already have Git installed and configured with some other EOL
104 conversion option, you will need to reconfigure it, removing the
105 following variables from all of your .gitconfig files:
106
107 core.eol
108 core.safecrlf
109 core.autocrlf
110
111 If you cloned the Emacs directory before changing these config
112 variables, you will have to delete the repository and re-clone it
113 after the change.
114
115 The instructions for cloning the Emacs repository can be found on
116 the Emacs's Savannah project page:
117
118 https://savannah.gnu.org/projects/emacs
119
78* Installing MinGW and MSYS 120* Installing MinGW and MSYS
79 121
80 Make sure you carefully read the following two sections in their 122 Make sure you carefully read the following two sections in their
@@ -143,7 +185,7 @@ build will run on Windows 9X and newer systems).
143 optional libraries near the end of this document, before you start 185 optional libraries near the end of this document, before you start
144 the build. Also, consider installing additional MinGW packages that 186 the build. Also, consider installing additional MinGW packages that
145 are required/recommended, especially if you are building from the 187 are required/recommended, especially if you are building from the
146 repository, as described in the next section. 188 development repository, as described in the next section.
147 189
148** Installing MinGW and MSYS manually 190** Installing MinGW and MSYS manually
149 191
@@ -187,7 +229,7 @@ build will run on Windows 9X and newer systems).
187 been warned! 229 been warned!
188 230
189 Additional MinGW packages are required/recommended, especially if 231 Additional MinGW packages are required/recommended, especially if
190 you are building from the repository: 232 you are building from the development repository:
191 233
192 . Texinfo (needed to produce the Info manuals when building from 234 . Texinfo (needed to produce the Info manuals when building from
193 the repository, and for "make install") 235 the repository, and for "make install")