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

Re: Is there a way to trim old SHAs from a git tree (so it's not so large)?

From
TTTimur Tabi <timur@freescale.com>
Date
Nov 21, 2006, 16:52 UTC
Message-ID
<45632EC6.5030902@freescale.com>
In-Reply-To
<20061121163206.GA22006@spearce.org>
Shawn Pearce wrote:
> Twice the size of a normal tarball isn't too bad, considering that
> you have the _complete_ history in the pack and yet the normal
> tarball has no history at all.

That is true. However, for the particular project I'm working on, double the size is not really acceptable.

My goal is to provide a source tree that is "git enabled", so that user can use git command to fetch, apply, and create patches. Currently, we're just handing out tarballs, so we want to move people to the 21st century.

> Shallow clone is a development feature still being working on in
> Junio's 'pu' branch of git.git.  It has a few issues still to be
> worked out so it hasn't been made part of one of the more stable
> branches yet (like 'next', 'master', or 'maint').
Well, until it's available on an official git release, it doesn't help me.
-- 
Timur Tabi
Previous: Shawn PearceNext: Shawn Pearce
Message 8 of 19 in “Is there a way to trim old SHAs from a git tree (so it's not so large)?”
  1. Timur TabiNov 15, 2006
  2. Shawn PearceNov 15, 2006
  3. Timur TabiNov 15, 2006
  4. Shawn PearceNov 15, 2006
  5. Thomas KolejkaNov 17, 2006
  6. Timur TabiNov 21, 2006
  7. Shawn PearceNov 21, 2006
  8. Timur TabiNov 21, 2006
  9. Shawn PearceNov 21, 2006
  10. Timur TabiNov 21, 2006
  11. Shawn PearceNov 21, 2006
  12. Timur TabiNov 21, 2006
  13. Johannes SchindelinNov 21, 2006
  14. Timur TabiNov 21, 2006
  15. Jakub NarebskiNov 21, 2006
  16. Johannes SchindelinNov 21, 2006
  17. Timur TabiNov 21, 2006
  18. Jakub NarebskiNov 21, 2006
  19. Johannes SchindelinNov 21, 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.