diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-24 15:28:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-24 15:28:25 -0700 |
commit | d2c2848ee5eb75b65de6b667b52c9235903013f7 (patch) | |
tree | b68b052ad001cec2a3868d796f2c6b58a6db5e2f /config.txt | |
parent | e478e40b3bf294a7583ba51d60eedaa3083c4731 (diff) | |
download | git-htmldocs-d2c2848ee5eb75b65de6b667b52c9235903013f7.tar.gz |
Autogenerated HTML docs for v2.1.2-555-gfbecd
Diffstat (limited to 'config.txt')
-rw-r--r-- | config.txt | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/config.txt b/config.txt index 400dcad21..8b49813d8 100644 --- a/config.txt +++ b/config.txt @@ -204,13 +204,26 @@ advice.*:: -- core.fileMode:: - If false, the executable bit differences between the index and - the working tree are ignored; useful on broken filesystems like FAT. - See linkgit:git-update-index[1]. + Tells Git if the executable bit of files in the working tree + is to be honored. + -The default is true, except linkgit:git-clone[1] or linkgit:git-init[1] -will probe and set core.fileMode false if appropriate when the -repository is created. +Some filesystems lose the executable bit when a file that is +marked as executable is checked out, or checks out an +non-executable file with executable bit on. +linkgit:git-clone[1] or linkgit:git-init[1] probe the filesystem +to see if it handles the executable bit correctly +and this variable is automatically set as necessary. ++ +A repository, however, may be on a filesystem that handles +the filemode correctly, and this variable is set to 'true' +when created, but later may be made accessible from another +environment that loses the filemode (e.g. exporting ext4 via +CIFS mount, visiting a Cygwin created repository with +Git for Windows or Eclipse). +In such a case it may be necessary to set this variable to 'false'. +See linkgit:git-update-index[1]. ++ +The default is true (when core.filemode is not specified in the config file). core.ignorecase:: If true, this option enables various workarounds to enable |