Re: [git-users] gitgui on windows asks repeatedly to compress database
On Wed, 10 Apr 2013 06:50:32 -0700 (PDT) waas.nett waas.n...@gmail.com wrote: I am using Git for different projects and sub-projects on windows 7 64 bit. When starting git gui occasionally it will ask for compressing the database because of a number of unlinked objects. When pressing yes, it will run a compress on the database. Typically after some while (several gui openings later) the message box will appear again and I do the compress again. Today I have noticed that with one specific repository I can do this endlessly. Opening gui git message appears, I do the compress and close git gui. Opening it immediately again without any additional other action the same message appears. Up to today I have been using git version 1.8.0.msysgit.0. I have updated half an hour ago to the newest version 1.8.2.1 as claimed on git.scm.com, but the installed version shows 1.8.1.msysgit.1. Starting git gui shows the same message for each starting up for particular repository. Others are still ok. Any solution known? Should I worry? Did you try to inspect the Git configuration options related to garbage collection (they starts with the gc. prefix)? I would inspect the gc.auto threshold in particular. Try running git config --get-all gc.auto in your suspect repository and see if it's set. The `git-config` manual page says the default is 6700, and 0 disabels automatic garbage collection. Another option of interest is gc.pruneExpire, which specifies for how long to keep those loose objects. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] gitgui on windows asks repeatedly to compress database
I have run git config --get-all gc.auto as you suggested on the repository in question. There is no output. For checking I have tried with another repo also no output. On Wednesday, April 10, 2013 4:31:56 PM UTC+2, Konstantin Khomoutov wrote: On Wed, 10 Apr 2013 06:50:32 -0700 (PDT) waas.nett waas...@gmail.com javascript: wrote: I am using Git for different projects and sub-projects on windows 7 64 bit. When starting git gui occasionally it will ask for compressing the database because of a number of unlinked objects. When pressing yes, it will run a compress on the database. Typically after some while (several gui openings later) the message box will appear again and I do the compress again. Today I have noticed that with one specific repository I can do this endlessly. Opening gui git message appears, I do the compress and close git gui. Opening it immediately again without any additional other action the same message appears. Up to today I have been using git version 1.8.0.msysgit.0. I have updated half an hour ago to the newest version 1.8.2.1 as claimed on git.scm.com, but the installed version shows 1.8.1.msysgit.1. Starting git gui shows the same message for each starting up for particular repository. Others are still ok. Any solution known? Should I worry? Did you try to inspect the Git configuration options related to garbage collection (they starts with the gc. prefix)? I would inspect the gc.auto threshold in particular. Try running git config --get-all gc.auto in your suspect repository and see if it's set. The `git-config` manual page says the default is 6700, and 0 disabels automatic garbage collection. Another option of interest is gc.pruneExpire, which specifies for how long to keep those loose objects. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] gitgui on windows asks repeatedly to compress database
On Wed, 10 Apr 2013 08:07:57 -0700 (PDT) waas.nett waas.n...@gmail.com wrote: [...] I would inspect the gc.auto threshold in particular. Try running git config --get-all gc.auto in your suspect repository and see if it's set. The `git-config` manual page says the default is 6700, and 0 disabels automatic garbage collection. I have run git config --get-all gc.auto as you suggested on the repository in question. There is no output. For checking I have tried with another repo also no output. This means this option hasn't been explicitly set, and so Git GC algorythm use the default value. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] gitgui on windows asks repeatedly to compress database
Well, problem solved! However, a bit differently than suggested. While looking for the syntax I have started by accident git gc for the repos in question. It ran for a short while. And the problem is no longer shown with git gui. So, my conclusion is that git gui doesn't do the same or at least not always. I have introduced the gc.auto setting after checking with git gui. Thanks for your advice On Wednesday, April 10, 2013 5:23:51 PM UTC+2, Konstantin Khomoutov wrote: On Wed, 10 Apr 2013 08:07:57 -0700 (PDT) waas.nett waas...@gmail.com javascript: wrote: [...] I would inspect the gc.auto threshold in particular. Try running git config --get-all gc.auto in your suspect repository and see if it's set. The `git-config` manual page says the default is 6700, and 0 disabels automatic garbage collection. I have run git config --get-all gc.auto as you suggested on the repository in question. There is no output. For checking I have tried with another repo also no output. This means this option hasn't been explicitly set, and so Git GC algorythm use the default value. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.