git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] sparse-checkout: respect core.ignoreCase in cone mode

From
Derrick Stolee via GitGitGadget <gitgitgadget@gmail.com>
Date
Dec 9, 2019, 19:42 UTC
Message-ID
<pull.488.git.1575920580.gitgitgadget@gmail.com>

This is the first of several cleanups to the sparse-checkout feature that had a large overhaul in ds/sparse-cone.

We have an internal customer that plans to use sparse-checkout as a core feature of their version control experience. They use a case-insensitive filesystem, so as they created their directory dependency graph they did not keep consistent casing. This data is what they plan to feed to "git sparse-checkout set".

While I would certainly prefer that the data is cleaned up (and that process is ongoing), I could not argue with the logic that git add does the "right thing" when core.ignoreCase is enabled.

Thanks, -Stolee
Derrick Stolee (1):
  sparse-checkout: respect core.ignoreCase in cone mode
 Documentation/git-sparse-checkout.txt |  4 ++++
 builtin/sparse-checkout.c             | 19 +++++++++++++++++--
 cache.h                               |  1 +
 name-hash.c                           | 10 ++++++++++
 t/t1091-sparse-checkout-builtin.sh    | 13 +++++++++++++
 5 files changed, 45 insertions(+), 2 deletions(-)
base-commit: cff4e9138d8df45e3b6199171092ee781cdadaeb
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-488%2Fderrickstolee%2Fsparse-case-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-488/derrickstolee/sparse-case-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/488
-- 
gitgitgadget
Next: Derrick Stolee via GitGitGadget
Message 1 of 16 in “sparse-checkout: respect core.ignoreCase in cone mode”
  1. 0/1 sparse-checkout: respect core.ignoreCase in cone modeDerrick Stolee via GitGitGadget, Dec 9, 2019
  2. 1/1 sparse-checkout: respect core.ignoreCase in cone modeDerrick Stolee via GitGitGadget, Dec 9, 2019
  3. Junio C HamanoDec 11, 2019
  4. Derrick StoleeDec 11, 2019
  5. Junio C HamanoDec 11, 2019
  6. Derrick StoleeDec 11, 2019
  7. Junio C HamanoDec 11, 2019
  8. Derrick StoleeDec 12, 2019
  9. Derrick StoleeDec 12, 2019
  10. Junio C HamanoDec 13, 2019
  11. Derrick StoleeDec 13, 2019
  12. Junio C HamanoDec 13, 2019
  13. 0/1 sparse-checkout: respect core.ignoreCase in cone modeDerrick Stolee via GitGitGadget, Dec 13, 2019
  14. 1/1 sparse-checkout: respect core.ignoreCase in cone modeDerrick Stolee via GitGitGadget, Dec 13, 2019
  15. Junio C HamanoDec 13, 2019
  16. Ed MasteDec 18, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.