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

Re: What's cooking in git.git (Sep 2021, #04; Mon, 13)

From
Derrick Stolee <stolee@gmail.com>
Date
Sep 14, 2021, 13:33 UTC
Message-ID
<88bb51c3-b5ab-77df-f9fb-b9252c2b0fa6@gmail.com>
In-Reply-To
<xmqqtuinc3tx.fsf@gitster.g>

On 9/13/2021 10:02 PM, Junio C Hamano wrote: ...

Show 19 quoted lines
> * ds/add-rm-with-sparse-index (2021-09-12) 14 commits
>  - advice: update message to suggest '--sparse'
>  - mv: refuse to move sparse paths
>  - rm: skip sparse paths with missing SKIP_WORKTREE
>  - rm: add --sparse option
>  - add: update --renormalize to skip sparse paths
>  - add: update --chmod to skip sparse paths
>  - add: implement the --sparse option
>  - add: skip tracked paths outside sparse-checkout cone
>  - add: fail when adding an untracked sparse file
>  - dir: fix pattern matching on dirs
>  - dir: select directories correctly
>  - dir: extract directory-matching logic
>  - t1092: behavior for adding sparse files
>  - t3705: test that 'sparse_entry' is unstaged
>  (this branch uses ds/mergies-with-sparse-index and ds/sparse-index-ignored-files.)
> 
>  "git add", "git mv", and "git rm" have been adjusted to work better
>  with the sparse index.

These changes apply more generally to the entire sparse-checkout feature. I can understand thinking it is only related to the sparse index because the tests follow the sparse index patterns. Those tests make sure that both full and sparse indexes are tested and have the same behavior.

Perhaps this would be a good summary?
  "git add", "git mv", and "git rm" have been adjusted to avoid
  updating paths outside of the sparse-checkout definition unless
  the user specifies a "--sparse" option.

Thanks, -Stolee

Previous: Taylor BlauNext: Junio C Hamano
Message 4 of 9 in “What's cooking in git.git (Sep 2021, #04; Mon, 13)”
  1. Junio C HamanoSep 14, 2021
  2. Elijah NewrenSep 14, 2021
  3. Taylor BlauSep 14, 2021
  4. Derrick StoleeSep 14, 2021
  5. Junio C HamanoSep 14, 2021
  6. Jeff HostetlerSep 14, 2021
  7. Junio C HamanoSep 14, 2021
  8. Jeff HostetlerSep 14, 2021
  9. Philip OakleySep 14, 2021

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.