git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Forcing git to pack objects
@ 2015-12-19  1:03 Edmundo Carmona Antoranz
  2015-12-20  2:25 ` Mikael Magnusson
  2015-12-20  7:41 ` Jeff King
  0 siblings, 2 replies; 3+ messages in thread
From: Edmundo Carmona Antoranz @ 2015-12-19  1:03 UTC (permalink / raw)
  To: Git List

Hi!

Recently I was running manually a git gc --prune command (wanted to
shrink my 2.8G .git directory by getting rid of loose objects) and I
ended up running out of space on my HD. After freaking out a little
bit (didn't know if the repo would end up in a 'stable' state), I
ended up freeing up some space and I again have a working repo...
_but_ I noticed that basically _all_ objects on my repo are laying
around in directories .git/objects/00 to ff (and taking a whole lot of
space... like the .git directory is now like 5 GBs). After running git
gc manually again it ended up taking a lot of time and the objects are
still there. Also git svn sometimes gcs after fetching and it took to
run cause of the gc execution (ended up killing it) and the files are
still there. Is it possible to ask git to put all those objects in
.pack files? Or did I mess something on my repo?

Just in case, that's a repo I use at work that's working on a windows
box (git for windows 2.6.3).

Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-20  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-19  1:03 Forcing git to pack objects Edmundo Carmona Antoranz
2015-12-20  2:25 ` Mikael Magnusson
2015-12-20  7:41 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).