# [BUG] git-gui loose object warning every hour

3 messages from 2008-06-20 to 2008-06-20. Participants: Michael Gebetsroither, Shawn O. Pearce.
Thread: https://gitlist.dev/t/14050

## Michael Gebetsroither, 2008-06-20 00:21

Subject: [BUG] git-gui loose object warning every hour
Message-ID: <g3et71$j8k$1@ger.gmane.org>
URL: https://gitlist.dev/e/g3et71%24j8k%241%40ger.gmane.org

```
hi,

New git-gui does not honor gc.auto=0 setting for his loose object
warning.

The loose object warning from git-gui poped up 3 times in the last 4
hours (i've gc'ed the repo every time).

I've already set gc.auto=0 so i do _NOT_ want git to do anything
automatically.

On every new git release there are new automatism that i've to disable.
Is there a way to just disable all this automatism in all git tools
globaly?

cu,
michael
-- 
It's already too late!

```

## Shawn O. Pearce, 2008-06-20 00:32

Subject: Re: [BUG] git-gui loose object warning every hour
Message-ID: <20080620003216.GR11793@spearce.org>
URL: https://gitlist.dev/e/20080620003216.GR11793%40spearce.org
In-Reply-To: <g3et71$j8k$1@ger.gmane.org>

```
Michael Gebetsroither <gebi@sbox.tugraz.at> wrote:
> New git-gui does not honor gc.auto=0 setting for his loose object
> warning.
> 
> The loose object warning from git-gui poped up 3 times in the last 4
> hours (i've gc'ed the repo every time).

This isn't a per-hour warning.  What's happening is there are loose
objects which git-gc has not pruned away.  Try running git-prune in
the repository to decrease the loose object count.

> I've already set gc.auto=0 so i do _NOT_ want git to do anything
> automatically.

Hmm.  Maybe git-gui should look at this flag on startup and if set
simply not perform the loose object count check.

> On every new git release there are new automatism that i've to disable.
> Is there a way to just disable all this automatism in all git tools
> globaly?

No.

-- 
Shawn.

```

## Michael Gebetsroither, 2008-06-20 00:40

Subject: Re: [BUG] git-gui loose object warning every hour
Message-ID: <g3eu9p$j8k$2@ger.gmane.org>
URL: https://gitlist.dev/e/g3eu9p%24j8k%242%40ger.gmane.org
In-Reply-To: <20080620003216.GR11793@spearce.org>

```
* Shawn O. Pearce <spearce@spearce.org> wrote:
> Michael Gebetsroither <gebi@sbox.tugraz.at> wrote:

>> The loose object warning from git-gui poped up 3 times in the last 4
>> hours (i've gc'ed the repo every time).
>
> This isn't a per-hour warning.  What's happening is there are loose
> objects which git-gc has not pruned away.  Try running git-prune in
> the repository to decrease the loose object count.

I've clicked yes (to remove the loose objects) on every popup of the
loose object warning dialog.

>> I've already set gc.auto=0 so i do _NOT_ want git to do anything
>> automatically.
>
> Hmm.  Maybe git-gui should look at this flag on startup and if set
> simply not perform the loose object count check.

That would be nice, yes.

cu,
michael
-- 
It's already too late!

```
