Re: Why very small repository has 2.7M size
- From
- Jean-Luc Herren <jlh@gmx.ch>
- Date
- Jan 19, 2008, 10:57 UTC
- Message-ID
- <4791D7AD.1060106@gmx.ch>
- In-Reply-To
- <46dff0320801190148y5a00c83m4825f4066547ddc2@mail.gmail.com>
Ping Yin wrote:
Show 8 quoted lines
> -rw-r--r-- 1 yinping yinping 26 2008-01-19 17:33 .gitignore > -rwxr-xr-x 1 yinping yinping 131 2008-01-19 17:44 Makefile.common > [...] > Counting objects: 87, done. > [...] > 4046b84344038d63b655b56f6e619888dd424e4e Add Makefile.common using commonmake > 8bbd7d4649ac1df1b29414b2ec469f532a77f222 Init empty repository, ignore > *.o, *.d, *~, *.swp, CVS, .svn
You sure have a lot of objects for only having two commits and two files. Maybe some of the objects are loose ones? Try running 'git gc --prune' to see if that removes them. But be aware that this deletes them all, you might want to check first if the loose objects are something you wanted to keep (with 'git fsck' and 'git show').
jlh