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

Re: git-rev-list: make --dense the default (and introduce "--sparse")

From
Junio C Hamano <junkio@cox.net>
Date
Oct 26, 2005, 09:17 UTC
Message-ID
<7vwtk08wnx.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0510251525540.10477@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 5 quoted lines
> On Tue, 25 Oct 2005, Linus Torvalds wrote:
>> 
>> This actually does three things:
>> 
>>  - make "--dense" the default for git-rev-list...
Heads up.

I have not looked closely into what exactly, but the fourth thing this does might be to break git-send-pack.

I usually use the tip of "pu" myself, but for tonight, I am excluding the fetch-pack/upload-pack changes from Johannes when building git for my own use, and using somewhere in the middle of "pu" branch. With this "--dense default" patch, git-send-pack seems to send too few objects. With this patch reverted, git-send-pack seems to work again.

 +  [build] Revert "git-rev-list: make --dense the default (and introduce "--sparse")"
 ++ [pu^] Merge branch 'js-fat'
 ++ [pu^^2] Test in git-init-db if the filemode can be trusted
 ++ [pu~2] Merge branches 'cache-pack', 'lazy-subdir' and 'lt-dense'
 ++ [pu~2^4] git-rev-list: make --dense the default (and introduce "--sparse")
 ++ [pu~2^3] Create object subdirectories on demand (phase II)
 ++ [pu~2^2] Allow caching of generated pack for full cloning.
+++ [master] upload-pack: tighten request validation.

I'll take a look at the issue in the morning unless somebody else beats me to it.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 5 in “git-rev-list: make --dense the default (and introduce "--sparse")”
  1. Linus TorvaldsOct 25, 2005
  2. Linus TorvaldsOct 25, 2005
  3. Junio C HamanoOct 26, 2005
  4. Linus TorvaldsOct 26, 2005
  5. Junio C HamanoOct 26, 2005

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.