Skip to content

pr-104/dscho/case-insensitive-abspath-v4

It is completely legitimate these days to call git add with absolute paths.
Of course, on a case-insensitive file system, users rightfully expect the
argument to be handled case-insensitively, too. This patch makes it so.

Git for Windows carried this patch for over one and a half years already, I
think it is time to get it into git.git.

Changes since v3:

 * Fixed the oneline (it talked about core.fileMode when it really wanted to
   talk about core.ignoreCase!).

Change since v2:

 * Replaced MINGW prerequisite in the test by CASE_INSENSITIVE_FS. v1 was
   sent out without a change by mistake. Sorry.

Johannes Schindelin (1):
  abspath_part_inside_repo: respect core.ignoreCase

 setup.c        | 6 +++---
 t/t3700-add.sh | 7 +++++++
 2 files changed, 10 insertions(+), 3 deletions(-)

base-commit: 77556354bb7ac50450e3b28999e3576969869068

Submitted-As: https://public-inbox.org/git/pull.104.v4.git.gitgitgadget@gmail.com
In-Reply-To: https://public-inbox.org/git/pull.104.git.gitgitgadget@gmail.com
In-Reply-To: https://public-inbox.org/git/pull.104.v2.git.gitgitgadget@gmail.com
In-Reply-To: https://public-inbox.org/git/pull.104.v3.git.gitgitgadget@gmail.com
Assets 2