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

Why very small repository has 2.7M size

From
Ping Yin <pkufranky@gmail.com>
Date
Jan 19, 2008, 09:43 UTC
Message-ID
<46dff0320801190143h471e6d70ve5bf114335e1534@mail.gmail.com>

$ ~/test/bar$ ll -h && git gc total 8.0K -rwxr-xr-x 1 yinping yinping 131 2008-01-19 17:35 Makefile.crawler -rwxr-xr-x 1 yinping yinping 131 2008-01-19 17:37 Makefile.search Counting objects: 87, done. Compressing objects: 100% (78/78), done. Writing objects: 100% (87/87), done. Total 87 (delta 8), reused 87 (delta 8)

$ ~/test/bar$ du -h . | tail -10 8.0K ./.git/objects/info 2.5M ./.git/objects/pack 2.5M ./.git/objects 8.0K ./.git/logs/refs/heads 20K ./.git/logs/refs/remotes/origin 24K ./.git/logs/refs/remotes 36K ./.git/logs/refs 44K ./.git/logs 2.7M ./.git 2.7M .

-- 
Ping Yin
Next: Ping Yin
Message 1 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.