git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Documentation: declare "core.ignorecase" as internal variable
@ 2018-06-24 10:05 Marc Strapetz
  2018-06-24 10:19 ` Eric Sunshine
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Marc Strapetz @ 2018-06-24 10:05 UTC (permalink / raw)
  To: git

The current description of "core.ignorecase" reads like an option which
is intended to be changed by the user while it's actually expected to
be set by Git only [1].

[1] https://marc.info/?l=git&m=152972992729761&w=2

Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
---
  Documentation/config.txt | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index ab641bf5a..c25693828 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -390,7 +390,7 @@ core.hideDotFiles::
  	default mode is 'dotGitOnly'.

  core.ignoreCase::
-	If true, this option enables various workarounds to enable
+	Internal variable which enables various workarounds to enable
  	Git to work better on filesystems that are not case sensitive,
  	like FAT. For example, if a directory listing finds
  	"makefile" when Git expects "Makefile", Git will assume
@@ -399,7 +399,7 @@ core.ignoreCase::
  +
  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
  will probe and set core.ignoreCase true if appropriate when the repository
-is created.
+is created. Modifying this value afterwards may result in unexpected 
behavior.

  core.precomposeUnicode::
  	This option is only used by Mac OS implementation of Git.
-- 
2.17.0.rc0.3.gb1b5a51b2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH] Documentation: declare "core.ignorecase" as internal variable
  2018-06-24 10:05 [PATCH] Documentation: declare "core.ignorecase" as internal variable Marc Strapetz
@ 2018-06-24 10:19 ` Eric Sunshine
  2018-06-24 10:44 ` [PATCH v2] " Marc Strapetz
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Eric Sunshine @ 2018-06-24 10:19 UTC (permalink / raw)
  To: Mark Strapetz; +Cc: Git List

On Sun, Jun 24, 2018 at 6:05 AM Marc Strapetz <marc.strapetz@syntevo.com> wrote:
> The current description of "core.ignorecase" reads like an option which
> is intended to be changed by the user while it's actually expected to
> be set by Git only [1].
>
> [1] https://marc.info/?l=git&m=152972992729761&w=2

Thanks for following up the discussion with a patch.

The commit message, unfortunately, doesn't explain the "why" of this
change in enough detail for someone to understand the issue without
chasing down that link (which could go stale, or the reader might be
offline). Incorporating Bryan's explanation[1] directly into the
commit message would likely be a good idea if you happen to re-roll.

    Git on Windows is not designed to run with anything other than
    core.ignoreCase=true, and attempting to do so will cause
    unexpected behavior. In other words, it's not a behavior toggle so
    user's can request the functionality to work one way or the other;
    it's an implementation detail that `git init` and `git clone` set
    when a repository is created purely so they don't have to probe
    the file system each time you run a `git` command.

[1]: https://public-inbox.org/git/CAGyf7-GvcN8EhMgtaZcDJNYNdfLwVH8HVBDmZqJU40nze0NSEA@mail.gmail.com/

> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v2] Documentation: declare "core.ignorecase" as internal variable
  2018-06-24 10:05 [PATCH] Documentation: declare "core.ignorecase" as internal variable Marc Strapetz
  2018-06-24 10:19 ` Eric Sunshine
@ 2018-06-24 10:44 ` Marc Strapetz
  2018-06-24 11:26   ` Sascha Silbe
  2018-06-24 13:47   ` Torsten Bögershausen
  2018-06-26 21:50 ` [PATCH v3] " Marc Strapetz
  2018-06-28 11:21 ` [PATCH v4] Documentation: declare "core.ignoreCase" " Marc Strapetz
  3 siblings, 2 replies; 12+ messages in thread
From: Marc Strapetz @ 2018-06-24 10:44 UTC (permalink / raw)
  To: git; +Cc: sunshine

The current description of "core.ignoreCase" reads like an option which
is intended to be changed by the user while it's actually expected to
be set by Git on initialization only. This is especially important for
Git for Windows, as noted by Bryan Turner [1]:

     Git on Windows is not designed to run with anything other than
     core.ignoreCase=true, and attempting to do so will cause
     unexpected behavior. In other words, it's not a behavior toggle so
     user's can request the functionality to work one way or the other;
     it's an implementation detail that `git init` and `git clone` set
     when a repository is created purely so they don't have to probe
     the file system each time you run a `git` command.

[1] https://marc.info/?l=git&m=152972992729761&w=2

Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
---
  Documentation/config.txt | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index ab641bf5a..c25693828 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -390,7 +390,7 @@ core.hideDotFiles::
  	default mode is 'dotGitOnly'.

  core.ignoreCase::
-	If true, this option enables various workarounds to enable
+	Internal variable which enables various workarounds to enable
  	Git to work better on filesystems that are not case sensitive,
  	like FAT. For example, if a directory listing finds
  	"makefile" when Git expects "Makefile", Git will assume
@@ -399,7 +399,7 @@ core.ignoreCase::
  +
  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
  will probe and set core.ignoreCase true if appropriate when the repository
-is created.
+is created. Modifying this value afterwards may result in unexpected 
behavior.

  core.precomposeUnicode::
  	This option is only used by Mac OS implementation of Git.
-- 
2.17.0.rc0.3.gb1b5a51b2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] Documentation: declare "core.ignorecase" as internal variable
  2018-06-24 10:44 ` [PATCH v2] " Marc Strapetz
@ 2018-06-24 11:26   ` Sascha Silbe
  2018-06-24 13:47   ` Torsten Bögershausen
  1 sibling, 0 replies; 12+ messages in thread
From: Sascha Silbe @ 2018-06-24 11:26 UTC (permalink / raw)
  To: Bryan Turner, Marc Strapetz, git; +Cc: sunshine

Hello Bryan, hello Marc,

Marc Strapetz <marc.strapetz@syntevo.com> writes:

> The current description of "core.ignoreCase" reads like an option which
> is intended to be changed by the user while it's actually expected to
> be set by Git on initialization only. This is especially important for
> Git for Windows, as noted by Bryan Turner [1]:

Does this apply to Mac OS X as well? I helped someone recently who had
trouble with renamed files (case change only) in a repository residing
on a case-insensitive HFS+ file system. Setting core.ignoreCase
explicitly (apparently it didn't get set automatically during clone for
some reason) helped; the files are recognised correctly now and the
case-only rename could be pulled. Is the post-clone change insufficient
on Mac OS X? Do we need to replace the existing repository and clone
again using '--config core.ignoreCase=true' to avoid future issues?


PS: Including the message-id of the mail being referenced would be
    useful; the id in the URL you gave is specific to the service being
    used (public-inbox.org) and cannot be used to reference the mail in
    any other archive (local or public). If you use the mid:<message-id>
    syntax (RFC 1630) some MUAs can even recognise the link and open the
    mail directly.

Sascha
-- 
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg
https://se-silbe.de/
USt-IdNr.: DE281696641

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v2] Documentation: declare "core.ignorecase" as internal variable
  2018-06-24 10:44 ` [PATCH v2] " Marc Strapetz
  2018-06-24 11:26   ` Sascha Silbe
@ 2018-06-24 13:47   ` Torsten Bögershausen
  1 sibling, 0 replies; 12+ messages in thread
From: Torsten Bögershausen @ 2018-06-24 13:47 UTC (permalink / raw)
  To: Marc Strapetz; +Cc: git, sunshine

On Sun, Jun 24, 2018 at 12:44:26PM +0200, Marc Strapetz wrote:
> The current description of "core.ignoreCase" reads like an option which
> is intended to be changed by the user while it's actually expected to
> be set by Git on initialization only. This is especially important for
> Git for Windows, as noted by Bryan Turner [1]:
> 
>     Git on Windows is not designed to run with anything other than
>     core.ignoreCase=true, and attempting to do so will cause
>     unexpected behavior. In other words, it's not a behavior toggle so
>     user's can request the functionality to work one way or the other;
>     it's an implementation detail that `git init` and `git clone` set
>     when a repository is created purely so they don't have to probe
>     the file system each time you run a `git` command.

This is a nice explanation, thanaks for that,
Some users of Mac OS or SAMBA will see core.ignoreCase=true, and are not
supposed to change it.

The same explanation (Git for Windows)
is alse valid for HFS+ and APFS under Mac OS and VFAT under all OS.
(or even an ext4 file system under Linux exported to Mac OS using SAMBA)

May be something like this?

     Git on a case insensitve file system (Windows, Mac OS, VFAT, SAMBA)
     is not designed to run with anything other than
     core.ignoreCase=true, and attempting to do so will cause
     unexpected behavior. In other words, it's not a behavior toggle so
    .....



> 
> [1] https://marc.info/?l=git&m=152972992729761&w=2
> 
> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
> ---
>  Documentation/config.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index ab641bf5a..c25693828 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -390,7 +390,7 @@ core.hideDotFiles::
>  	default mode is 'dotGitOnly'.
> 
>  core.ignoreCase::
> -	If true, this option enables various workarounds to enable
> +	Internal variable which enables various workarounds to enable
>  	Git to work better on filesystems that are not case sensitive,
>  	like FAT. For example, if a directory listing finds
>  	"makefile" when Git expects "Makefile", Git will assume
> @@ -399,7 +399,7 @@ core.ignoreCase::
>  +
>  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
>  will probe and set core.ignoreCase true if appropriate when the repository
> -is created.
> +is created. Modifying this value afterwards may result in unexpected
> behavior.
> 
>  core.precomposeUnicode::
>  	This option is only used by Mac OS implementation of Git.
> -- 
> 2.17.0.rc0.3.gb1b5a51b2

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v3] Documentation: declare "core.ignorecase" as internal variable
  2018-06-24 10:05 [PATCH] Documentation: declare "core.ignorecase" as internal variable Marc Strapetz
  2018-06-24 10:19 ` Eric Sunshine
  2018-06-24 10:44 ` [PATCH v2] " Marc Strapetz
@ 2018-06-26 21:50 ` Marc Strapetz
  2018-06-27 19:11   ` Junio C Hamano
  2018-06-28 11:21 ` [PATCH v4] Documentation: declare "core.ignoreCase" " Marc Strapetz
  3 siblings, 1 reply; 12+ messages in thread
From: Marc Strapetz @ 2018-06-26 21:50 UTC (permalink / raw)
  To: git; +Cc: sunshine, gitster, bturner

The current description of "core.ignoreCase" reads like an option which
is intended to be changed by the user while it's actually expected to
be set by Git on initialization only. Subsequently, Git relies on the
proper configuration of this variable, as noted by Bryan Turner [1]:

     Git on a case-insensitive filesystem (APFS, HFS+, FAT32, exFAT,
     vFAT, NTFS, etc.) is not designed to be run with anything other
     than core.ignoreCase=true.

[1] https://marc.info/?l=git&m=152998665813997&w=2
     mid:CAGyf7-GeE8jRGPkME9rHKPtHEQ6P1+ebpMMWAtMh01uO3bfy8w@mail.gmail.com

Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
---
  Documentation/config.txt | 9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 1cc18a828..c70cfe956 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -390,16 +390,19 @@ core.hideDotFiles::
  	default mode is 'dotGitOnly'.

  core.ignoreCase::
-	If true, this option enables various workarounds to enable
+	Internal variable which enables various workarounds to enable
  	Git to work better on filesystems that are not case sensitive,
-	like FAT. For example, if a directory listing finds
-	"makefile" when Git expects "Makefile", Git will assume
+	like APFS, HFS+, FAT, NTFS, etc. For example, if a directory listing
+	finds "makefile" when Git expects "Makefile", Git will assume
  	it is really the same file, and continue to remember it as
  	"Makefile".
  +
  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
  will probe and set core.ignoreCase true if appropriate when the repository
  is created.
++
+Git relies on the proper configuration of this variable for your operating
+and file system. Modifying this value may result in unexpected behavior.

  core.precomposeUnicode::
  	This option is only used by Mac OS implementation of Git.
-- 
2.17.0.rc0.3.gb1b5a51b2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH v3] Documentation: declare "core.ignorecase" as internal variable
  2018-06-26 21:50 ` [PATCH v3] " Marc Strapetz
@ 2018-06-27 19:11   ` Junio C Hamano
  2018-06-27 23:09     ` Aaron Schrab
  2018-06-28 11:36     ` Marc Strapetz
  0 siblings, 2 replies; 12+ messages in thread
From: Junio C Hamano @ 2018-06-27 19:11 UTC (permalink / raw)
  To: git; +Cc: sunshine, bturner, Marc Strapetz

Marc Strapetz <marc.strapetz@syntevo.com> writes:

> [1. text/plain]
> The current description of "core.ignoreCase" reads like an option which
> is intended to be changed by the user while it's actually expected to
> be set by Git on initialization only. Subsequently, Git relies on the
> proper configuration of this variable, as noted by Bryan Turner [1]:
> 
>     Git on a case-insensitive filesystem (APFS, HFS+, FAT32, exFAT,
>     vFAT, NTFS, etc.) is not designed to be run with anything other
>     than core.ignoreCase=true.
> 
> [1] https://marc.info/?l=git&m=152998665813997&w=2
>     mid:CAGyf7-GeE8jRGPkME9rHKPtHEQ6P1+ebpMMWAtMh01uO3bfy8w@mail.gmail.com
> 
> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
> ---
>  Documentation/config.txt | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 

Hmph.  Do other people have difficulty applying this patch to their
trees?  It is just several lines long so I could retype it myself,
but I guess "Content-Type: text/plain; charset=utf-8; format=flowed"
has destroyed formatting of the patch rather badly.

> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 1cc18a828..c70cfe956 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -390,16 +390,19 @@ core.hideDotFiles::
>  	default mode is 'dotGitOnly'.
>
>  core.ignoreCase::
> -	If true, this option enables various workarounds to enable
> +	Internal variable which enables various workarounds to enable
>  	Git to work better on filesystems that are not case sensitive,
> -	like FAT. For example, if a directory listing finds
> -	"makefile" when Git expects "Makefile", Git will assume
> +	like APFS, HFS+, FAT, NTFS, etc. For example, if a directory listing
> +	finds "makefile" when Git expects "Makefile", Git will assume
>  	it is really the same file, and continue to remember it as
>  	"Makefile".
>  +
>  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
>  will probe and set core.ignoreCase true if appropriate when the repository
>  is created.
> ++
> +Git relies on the proper configuration of this variable for your operating
> +and file system. Modifying this value may result in unexpected behavior.
>
>  core.precomposeUnicode::
>  	This option is only used by Mac OS implementation of Git.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v3] Documentation: declare "core.ignorecase" as internal variable
  2018-06-27 19:11   ` Junio C Hamano
@ 2018-06-27 23:09     ` Aaron Schrab
  2018-06-28 11:36     ` Marc Strapetz
  1 sibling, 0 replies; 12+ messages in thread
From: Aaron Schrab @ 2018-06-27 23:09 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, sunshine, bturner, Marc Strapetz

At 12:11 -0700 27 Jun 2018, Junio C Hamano <gitster@pobox.com> wrote:
>Hmph.  Do other people have difficulty applying this patch to their
>trees?  It is just several lines long so I could retype it myself,
>but I guess "Content-Type: text/plain; charset=utf-8; format=flowed"
>has destroyed formatting of the patch rather badly.

Yes, format=flowed requires lines that start with a space (along with 
'>' or 'From ') to be space-stuffed, adding a leading space. This will 
affect context lines in patches.

I was able to apply it cleanly (I think) by sending the message to: 

  sed '/@@/,$s/^  / /' | git am

That's replacing two leading spaces with one.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH v4] Documentation: declare "core.ignoreCase" as internal variable
  2018-06-24 10:05 [PATCH] Documentation: declare "core.ignorecase" as internal variable Marc Strapetz
                   ` (2 preceding siblings ...)
  2018-06-26 21:50 ` [PATCH v3] " Marc Strapetz
@ 2018-06-28 11:21 ` Marc Strapetz
  2018-06-28 16:47   ` Junio C Hamano
  2018-06-28 16:58   ` Torsten Bögershausen
  3 siblings, 2 replies; 12+ messages in thread
From: Marc Strapetz @ 2018-06-28 11:21 UTC (permalink / raw)
  To: git; +Cc: Marc Strapetz, sunshine, gitster, bturner

The current description of "core.ignoreCase" reads like an option which
is intended to be changed by the user while it's actually expected to
be set by Git on initialization only. Subsequently, Git relies on the
proper configuration of this variable, as noted by Bryan Turner [1]:

    Git on a case-insensitive filesystem (APFS, HFS+, FAT32, exFAT,
    vFAT, NTFS, etc.) is not designed to be run with anything other
    than core.ignoreCase=true.

[1] https://marc.info/?l=git&m=152998665813997&w=2
    mid:CAGyf7-GeE8jRGPkME9rHKPtHEQ6P1+ebpMMWAtMh01uO3bfy8w@mail.gmail.com

Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
---
 Documentation/config.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 1cc18a828..c70cfe956 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -390,16 +390,19 @@ core.hideDotFiles::
 	default mode is 'dotGitOnly'.
 
 core.ignoreCase::
-	If true, this option enables various workarounds to enable
+	Internal variable which enables various workarounds to enable
 	Git to work better on filesystems that are not case sensitive,
-	like FAT. For example, if a directory listing finds
-	"makefile" when Git expects "Makefile", Git will assume
+	like APFS, HFS+, FAT, NTFS, etc. For example, if a directory listing
+	finds "makefile" when Git expects "Makefile", Git will assume
 	it is really the same file, and continue to remember it as
 	"Makefile".
 +
 The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
 will probe and set core.ignoreCase true if appropriate when the repository
 is created.
++
+Git relies on the proper configuration of this variable for your operating
+and file system. Modifying this value may result in unexpected behavior.
 
 core.precomposeUnicode::
 	This option is only used by Mac OS implementation of Git.
-- 
2.17.0.rc0.3.gb1b5a51b2


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH v3] Documentation: declare "core.ignorecase" as internal variable
  2018-06-27 19:11   ` Junio C Hamano
  2018-06-27 23:09     ` Aaron Schrab
@ 2018-06-28 11:36     ` Marc Strapetz
  1 sibling, 0 replies; 12+ messages in thread
From: Marc Strapetz @ 2018-06-28 11:36 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: aaron, git

On 27.06.2018 21:11, Junio C Hamano wrote:
> Marc Strapetz <marc.strapetz@syntevo.com> writes:
> 
>> [1. text/plain]
>> The current description of "core.ignoreCase" reads like an option which
>> is intended to be changed by the user while it's actually expected to
>> be set by Git on initialization only. Subsequently, Git relies on the
>> proper configuration of this variable, as noted by Bryan Turner [1]:
>>
>>      Git on a case-insensitive filesystem (APFS, HFS+, FAT32, exFAT,
>>      vFAT, NTFS, etc.) is not designed to be run with anything other
>>      than core.ignoreCase=true.
>>
>> [1] https://marc.info/?l=git&m=152998665813997&w=2
>>      mid:CAGyf7-GeE8jRGPkME9rHKPtHEQ6P1+ebpMMWAtMh01uO3bfy8w@mail.gmail.com
>>
>> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
>> ---
>>   Documentation/config.txt | 9 ++++++---
>>   1 file changed, 6 insertions(+), 3 deletions(-)
>>
> 
> Hmph.  Do other people have difficulty applying this patch to their
> trees?  It is just several lines long so I could retype it myself,
> but I guess "Content-Type: text/plain; charset=utf-8; format=flowed"
> has destroyed formatting of the patch rather badly.

I had copy-pasted the patch into Thunderbird. The received email was 
looking fine in the inbox, however it seems that some leading 
whitespaces have been added to several lines (when comparing raw 
contents of v3 and v4). I have resent the patch with git send-email now.

-Marc

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v4] Documentation: declare "core.ignoreCase" as internal variable
  2018-06-28 11:21 ` [PATCH v4] Documentation: declare "core.ignoreCase" " Marc Strapetz
@ 2018-06-28 16:47   ` Junio C Hamano
  2018-06-28 16:58   ` Torsten Bögershausen
  1 sibling, 0 replies; 12+ messages in thread
From: Junio C Hamano @ 2018-06-28 16:47 UTC (permalink / raw)
  To: Marc Strapetz; +Cc: git, sunshine, bturner

Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH v4] Documentation: declare "core.ignoreCase" as internal variable
  2018-06-28 11:21 ` [PATCH v4] Documentation: declare "core.ignoreCase" " Marc Strapetz
  2018-06-28 16:47   ` Junio C Hamano
@ 2018-06-28 16:58   ` Torsten Bögershausen
  1 sibling, 0 replies; 12+ messages in thread
From: Torsten Bögershausen @ 2018-06-28 16:58 UTC (permalink / raw)
  To: Marc Strapetz, git; +Cc: sunshine, gitster, bturner

On 28.06.18 13:21, Marc Strapetz wrote:
> The current description of "core.ignoreCase" reads like an option which
> is intended to be changed by the user while it's actually expected to
> be set by Git on initialization only. Subsequently, Git relies on the
> proper configuration of this variable, as noted by Bryan Turner [1]:
> 
>     Git on a case-insensitive filesystem (APFS, HFS+, FAT32, exFAT,
>     vFAT, NTFS, etc.) is not designed to be run with anything other
>     than core.ignoreCase=true.
> 
> [1] https://marc.info/?l=git&m=152998665813997&w=2
>     mid:CAGyf7-GeE8jRGPkME9rHKPtHEQ6P1+ebpMMWAtMh01uO3bfy8w@mail.gmail.com
> 
> Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
> ---
>  Documentation/config.txt | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index 1cc18a828..c70cfe956 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -390,16 +390,19 @@ core.hideDotFiles::
>  	default mode is 'dotGitOnly'.
>  
>  core.ignoreCase::
> -	If true, this option enables various workarounds to enable
> +	Internal variable which enables various workarounds to enable
>  	Git to work better on filesystems that are not case sensitive,
> -	like FAT. For example, if a directory listing finds
> -	"makefile" when Git expects "Makefile", Git will assume
> +	like APFS, HFS+, FAT, NTFS, etc. For example, if a directory listing
> +	finds "makefile" when Git expects "Makefile", Git will assume
>  	it is really the same file, and continue to remember it as
>  	"Makefile".
>  +
>  The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
>  will probe and set core.ignoreCase true if appropriate when the repository
>  is created.
> ++
> +Git relies on the proper configuration of this variable for your operating
> +and file system. Modifying this value may result in unexpected behavior.
>  
>  core.precomposeUnicode::
>  	This option is only used by Mac OS implementation of Git.
> 

Looks good to me

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-06-28 17:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-24 10:05 [PATCH] Documentation: declare "core.ignorecase" as internal variable Marc Strapetz
2018-06-24 10:19 ` Eric Sunshine
2018-06-24 10:44 ` [PATCH v2] " Marc Strapetz
2018-06-24 11:26   ` Sascha Silbe
2018-06-24 13:47   ` Torsten Bögershausen
2018-06-26 21:50 ` [PATCH v3] " Marc Strapetz
2018-06-27 19:11   ` Junio C Hamano
2018-06-27 23:09     ` Aaron Schrab
2018-06-28 11:36     ` Marc Strapetz
2018-06-28 11:21 ` [PATCH v4] Documentation: declare "core.ignoreCase" " Marc Strapetz
2018-06-28 16:47   ` Junio C Hamano
2018-06-28 16:58   ` Torsten Bögershausen

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).