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

Re: What's cooking in git.git (Nov 2009, #04; Tue, 17)

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 18, 2009, 14:43 UTC
Message-ID
<fcaeb9bf0911180643w5e659340jd845aa202e6feca3@mail.gmail.com>
In-Reply-To
<7v7hto46ce.fsf@alter.siamese.dyndns.org>
On 11/18/09, Junio C Hamano <gitster@pobox.com> wrote:
Show 24 quoted lines
>  * nd/sparse (2009-08-20) 19 commits.
>   - sparse checkout: inhibit empty worktree
>   - Add tests for sparse checkout
>   - read-tree: add --no-sparse-checkout to disable sparse checkout support
>   - unpack-trees(): ignore worktree check outside checkout area
>   - unpack_trees(): apply $GIT_DIR/info/sparse-checkout to the final index
>   - unpack-trees(): "enable" sparse checkout and load $GIT_DIR/info/sparse-checkout
>   - unpack-trees.c: generalize verify_* functions
>   - unpack-trees(): add CE_WT_REMOVE to remove on worktree alone
>   - Introduce "sparse checkout"
>   - dir.c: export excluded_1() and add_excludes_from_file_1()
>   - excluded_1(): support exclude files in index
>   - unpack-trees(): carry skip-worktree bit over in merged_entry()
>   - Read .gitignore from index if it is skip-worktree
>   - Avoid writing to buffer in add_excludes_from_file_1()
>   - Teach Git to respect skip-worktree bit (writing part)
>   - Teach Git to respect skip-worktree bit (reading part)
>   - Introduce "skip-worktree" bit in index, teach Git to get/set this bit
>   - Add test-index-version
>   - update-index: refactor mark_valid() in preparation for new options
>
>  The latest update I didn't look at very closely but I had an impression
>  that it was touching very generic codepath that would affect non sparse
>  cases, iow the patch looked very scary (the entire series already is).

I wonder if there is any other approach for sparse checkout? I'll see if I can improve it, but with a series touching unpack logic, diff core, .gitattributes/.gitignore, it's hard to get it right and obvious.

-- 
Duy
Previous: Tim HeniganNext: Johannes Sixt
Message 8 of 9 in “What's cooking in git.git (Nov 2009, #04; Tue, 17)”
  1. Junio C HamanoNov 18, 2009
  2. Tay Ray ChuanNov 18, 2009
  3. Johannes SixtNov 18, 2009
  4. Junio C HamanoNov 19, 2009
  5. th/remote-usageJonathan Nieder, Nov 18, 2009
  6. Jonathan NiederNov 18, 2009
  7. Tim HeniganNov 18, 2009
  8. Nguyen Thai Ngoc DuyNov 18, 2009
  9. Johannes SixtNov 18, 2009

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.