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

Re: Packfile can't be mapped

From
Linus Torvalds <torvalds@osdl.org>
Date
Aug 28, 2006, 04:36 UTC
Message-ID
<Pine.LNX.4.64.0608272133390.27779@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0608280014190.3683@localhost.localdomain>
On Mon, 28 Aug 2006, Nicolas Pitre wrote:
> 
> Good job indeed.  Oh and you probably should not bother trying to 
> deltify commit objects at all since that would be a waste of time.

It might not necessarily always be a waste of time. Especially if you have multiple branches tracking a "maintenance" branch, you often end up having the same commit message repeated several times in "unrelated" commits (they're really the same commit, applied to another branch).

Also, I could imagine that some automated system generates very verbose (and possibly very regular) commit messages, so under certain circumstances it may well make sense to see if the commits migth delta against each other.

But I'll agree that in normal use it's not likely to be a huge saving, though. It's probably not worth doing for the fast importer unless it just happens to fall out of the code very easily.

		Linus
Previous: Nicolas PitreNext: Shawn Pearce
Message 4 of 16 in “Packfile can't be mapped”
  1. Jon SmirlAug 28, 2006
  2. Shawn PearceAug 28, 2006
  3. Nicolas PitreAug 28, 2006
  4. Linus TorvaldsAug 28, 2006
  5. Shawn PearceAug 28, 2006
  6. Jon SmirlAug 28, 2006
  7. Nicolas PitreAug 28, 2006
  8. Jon SmirlAug 28, 2006
  9. Nicolas PitreAug 28, 2006
  10. Shawn PearceAug 28, 2006
  11. Nicolas PitreAug 28, 2006
  12. Shawn PearceAug 28, 2006
  13. Shawn PearceAug 28, 2006
  14. Nicolas PitreAug 28, 2006
  15. Shawn PearceAug 29, 2006
  16. Shawn PearceAug 29, 2006

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.