login
Header Space

 
 

Re: git gc & deleted branches

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff King <peff@...>
Cc: <git@...>
Date: Thursday, May 8, 2008 - 2:55 pm

On Thu, 8 May 2008, Jeff King wrote:

Jeff, I tried it, but it has no effect (see below). There is only the 
master branch left, and only one commit therein, still it uses the space 
former occupied by the branch. I'm using git version 1.5.5.1.147.g867f.

Any further ideas?


$ git config -l
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
gc.reflogexpire=0
gc.reflogexpireunreachable=0
gc.rerereresolved=0
gc.rerereunresolved=0
gc.packrefs=1
gc.pruneexpire=now

$ git gc
Counting objects: 6, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), done.
Total 6 (delta 0), reused 6 (delta 0)

$ git prune

$ git branch
* master

$ du -s .
30820   .

$ git log
commit 9717437cdcb2a4457f28f41db5f6fad9ca55b54e
Author: Testuser <testuser@bianca.dialin.t-online.de>
Date:   Thu May 8 19:40:06 2008 +0200

     initial checkin

$ ls -l
total 10240
-rw-r--r-- 1 testuser users 10485760 May  8 19:40 file

Regards

Guido
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 1:45 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 2:39 pm)
Re: git gc & deleted branches, Guido Ostkamp, (Thu May 8, 2:55 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 4:51 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 4:07 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 4:56 pm)
Re: git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 4:52 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:01 pm)
Re: git gc &amp; deleted branches, Guido Ostkamp, (Thu May 8, 5:33 pm)
Re: git gc &amp; deleted branches, Nicolas Pitre, (Thu May 8, 5:15 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:17 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:23 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:31 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:40 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 5:44 pm)
Re: git gc &amp; deleted branches, Brandon Casey, (Thu May 8, 5:53 pm)
Re: git gc &amp; deleted branches, Jeff King, (Thu May 8, 6:48 pm)
speck-geostationary