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

Re: Lots of loose objects

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 10, 2007, 19:37 UTC
Message-ID
<Pine.LNX.4.64.0710102035420.4174@racer.site>
In-Reply-To
<87myuqwzp3.fsf@lysator.liu.se>
Hi,
On Wed, 10 Oct 2007, David Kågedal wrote:
Show 8 quoted lines
> I hade a tree that made git-gui complain that I had too many loose
> objects every time I started it (3072 to be precise).  Letting git-gui
> compress it for me didn't help.  Neither did git-gc, even with the
> --aggressive flag.
> 
> I noticed that I had a lot of loose files in .git/objects, and
> suddenly I remembered that there was a command called "git
> prune". Finally I was able to get rid of those loose objects.

Probably git-gui should check again, after the compacting stage, how many loose objects there are, and suggest to run git prune after a sufficiently terrifying warning message ("Should I prune unreferenced objects? (DON'T do this if you share objects between repositories!) Yes / No").

Ciao, Dscho

Previous: David Kågedal
Message 2 of 2 in “Lots of loose objects”
  1. David KågedalOct 10, 2007
  2. Johannes SchindelinOct 10, 2007

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.