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

Re: Why very small repository has 2.7M size

From
Ping Yin <pkufranky@gmail.com>
Date
Jan 19, 2008, 13:59 UTC
Message-ID
<46dff0320801190559qbd9c846v56ece0111554d94b@mail.gmail.com>
In-Reply-To
<4791D7AD.1060106@gmx.ch>
On Jan 19, 2008 6:57 PM, Jean-Luc Herren <jlh@gmx.ch> wrote:
Show 17 quoted lines
> Ping Yin wrote:
> > -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').
>

Oh, sorry, my fault. $ git branch -r

  origin/HEAD
  origin/backup
  origin/backup1
  origin/backup2
  origin/master
> jlh
>
-- 
Ping Yin
Previous: Jean-Luc Herren
Message 4 of 4 in “Why very small repository has 2.7M size”
  1. Ping YinJan 19, 2008
  2. Ping YinJan 19, 2008
  3. Jean-Luc HerrenJan 19, 2008
  4. Ping YinJan 19, 2008

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.