From: "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: [PATCH v3 0/1] Make abspath() aware of case-insensitive filesystems
Date: Mon, 24 Dec 2018 14:56:03 -0800 (PST) [thread overview]
Message-ID: <pull.104.v3.git.gitgitgadget@gmail.com> (raw)
In-Reply-To: <pull.104.v2.git.gitgitgadget@gmail.com>
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.
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.fileMode
setup.c | 6 +++---
t/t3700-add.sh | 7 +++++++
2 files changed, 10 insertions(+), 3 deletions(-)
base-commit: b21ebb671bb7dea8d342225f0d66c41f4e54d5ca
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-104%2Fdscho%2Fcase-insensitive-abspath-v3
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-104/dscho/case-insensitive-abspath-v3
Pull-Request: https://github.com/gitgitgadget/git/pull/104
Range-diff vs v2:
1: 3eaec10c46 ! 1: b935e11d21 abspath_part_inside_repo: respect core.fileMode
@@ -47,7 +47,7 @@
test $(git ls-files --stage | grep ^100755 | wc -l) -eq 0
'
-+test_expect_success MINGW 'path is case-insensitive' '
++test_expect_success CASE_INSENSITIVE_FS 'path is case-insensitive' '
+ path="$(pwd)/BLUB" &&
+ touch "$path" &&
+ downcased="$(echo "$path" | tr A-Z a-z)" &&
--
gitgitgadget
next prev parent reply other threads:[~2018-12-24 22:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-21 11:32 [PATCH 0/1] Make abspath() aware of case-insensitive filesystems Johannes Schindelin via GitGitGadget
2018-12-21 11:32 ` [PATCH 1/1] abspath_part_inside_repo: respect core.fileMode Johannes Schindelin via GitGitGadget
2018-12-22 18:11 ` Carlo Arenas
2018-12-24 18:54 ` Johannes Schindelin
2018-12-24 22:34 ` [PATCH v2 0/1] Make abspath() aware of case-insensitive filesystems Johannes Schindelin via GitGitGadget
2018-12-24 22:34 ` [PATCH v2 1/1] abspath_part_inside_repo: respect core.fileMode Johannes Schindelin via GitGitGadget
2018-12-25 10:42 ` Torsten Bögershausen
2019-01-18 12:58 ` Johannes Schindelin
2018-12-24 22:56 ` Johannes Schindelin via GitGitGadget [this message]
2018-12-24 22:56 ` [PATCH v3 " Johannes Schindelin via GitGitGadget
2018-12-25 3:06 ` Junio C Hamano
2018-12-25 8:46 ` Junio C Hamano
2019-01-18 12:55 ` Johannes Schindelin
2019-01-18 13:24 ` [PATCH v4 0/1] Make abspath() aware of case-insensitive filesystems Johannes Schindelin via GitGitGadget
2019-01-18 13:24 ` [PATCH v4 1/1] abspath_part_inside_repo: respect core.ignoreCase Johannes Schindelin via GitGitGadget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pull.104.v3.git.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.