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

Re: Remove "historical" objects from repository to save place

From
Junio C Hamano <junkio@cox.net>
Date
Jan 21, 2006, 21:46 UTC
Message-ID
<7vbqy5l0er.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<86slrhe270.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 19 quoted lines
>>>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes:
>
> Junio> Most likely what the original requestor cloned from Linus has
> Junio> been already packed so git-prune would not do much.
>
> Wait.  Does that mean that:
>
> $ git-checkout -b playground
> $ work work work
> $ git-commit -m 'snapshot'
> $ git-checkout -b master
> $ git-repack -a -d
>
> means that even if I do
>
> $ git-branch -d playground
> $ git-repack -a -d
>
> I still have the commit from playground as objects inside my one big pack?
Repack retraces from all the available refs, so that is fine.
Pasky was talking about prune, which is a different animal.
Previous: Randal L. SchwartzNext: Andrey Borzenkov
Message 6 of 8 in “Remove "historical" objects from repository to save place”
  1. Andrey BorzenkovJan 21, 2006
  2. Junio C HamanoJan 21, 2006
  3. Petr BaudisJan 21, 2006
  4. Junio C HamanoJan 21, 2006
  5. Randal L. SchwartzJan 21, 2006
  6. Junio C HamanoJan 21, 2006
  7. Andrey BorzenkovJan 21, 2006
  8. Andrey BorzenkovJan 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.