@matheusbsbs / matheus-bagliano / commits / 7b357240f0
Fork 0

config documentation: some configs are auto-set by git-init

Add documentation for core.ignorecase, and mention git-init in core.filemode and core.symlinks. Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthew Ogilvie committed Nov 22, 2009 at 19:07 UTC 7b357240f047bfbeae377b8c5327944337124a0f
1 file changed +22 -2
Documentation/config.txt
+22 -2
@@ -131,7 +131,11 @@ advice.*::
131 core.fileMode::
132 If false, the executable bit differences between the index and
133 the working copy are ignored; useful on broken filesystems like FAT.
134 - See linkgit:git-update-index[1]. True by default.
134 + See linkgit:git-update-index[1].
135 ++
136 +The default is true, except linkgit:git-clone[1] or linkgit:git-init[1]
137 +will probe and set core.fileMode false if appropriate when the
138 +repository is created.
139
140 core.ignoreCygwinFSTricks::
141 This option is only used by Cygwin implementation of Git. If false,
@@ -144,6 +148,18 @@ core.ignoreCygwinFSTricks::
148 is true, in which case ignoreCygwinFSTricks is ignored as Cygwin's
149 POSIX emulation is required to support core.filemode.
150
151 +core.ignorecase::
152 + If true, this option enables various workarounds to enable
153 + git to work better on filesystems that are not case sensitive,
154 + like FAT. For example, if a directory listing finds
155 + "makefile" when git expects "Makefile", git will assume
156 + it is really the same file, and continue to remember it as
157 + "Makefile".
158 ++
159 +The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
160 +will probe and set core.ignorecase true if appropriate when the repository
161 +is created.
162 +
163 core.trustctime::
164 If false, the ctime differences between the index and the
165 working copy are ignored; useful when the inode change time
@@ -224,7 +240,11 @@ core.symlinks::
240 contain the link text. linkgit:git-update-index[1] and
241 linkgit:git-add[1] will not change the recorded type to regular
242 file. Useful on filesystems like FAT that do not support
227 - symbolic links. True by default.
243 + symbolic links.
244 ++
245 +The default is true, except linkgit:git-clone[1] or linkgit:git-init[1]
246 +will probe and set core.symlinks false if appropriate when the repository
247 +is created.
248
249 core.gitProxy::
250 A "proxy command" to execute (as 'command host port') instead