News for hackers. Stuff that matters.
Re:Facebook's git repo is 54GB by masklinn on Friday April 25, 2014 @03:53PM (#7648685)
> Re-cloning a fresh repo should keep it small. There's also a git gc method which cleans up the repo.

There's only so much git gc can do. We've got a 500MB repo (.git, excluding working copy) at work, for 100k revisions. That's with a fresh clone and having tried most combinations of gc and repack we could think of. Considering the size of facebook, I can only expect that their repo is deeper (longer history in revisions count), broader (more files), more complex and probably full of binary stuff.

Re:Facebook's git repo is 54GB by Dylan16807 on Friday April 25, 2014 @05:32PM (#7649156)
Is that all actually code? Each commit would have to add an average of 5KB compressed so maybe 20KB of brand new code.
Re:Facebook's git repo is 54GB by masklinn on Saturday April 26, 2014 @08:29AM (#7651164)
> Is that all actually code?

Of course not, it's an actual project. There is code, there are data files (text and binary) and there are assets.