threads / bug / 14050

[BUG] git-gui loose object warning every hour

Subject: [BUG] git-gui loose object warning every hour

## tl;dr

3 messages between Jun 20, 2008 and Jun 20, 2008.

replies: 2people: 2as markdown or json

Michael Gebetsroither· Jun 20, 2008, 00:21 UTC · lore
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· Jun 20, 2008, 00:32 UTC · re: Michael Gebetsroither · lore

Re: [BUG] git-gui loose object warning every hour

Michael Gebetsroither <gebi@sbox.tugraz.at> wrote:
Show 5 quoted lines
> 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· Jun 20, 2008, 00:40 UTC · re: Shawn O. Pearce · lore

Re: [BUG] git-gui loose object warning every hour

* Shawn O. Pearce <spearce@spearce.org> wrote:
> Michael Gebetsroither <gebi@sbox.tugraz.at> wrote:
Show 6 quoted lines
>> 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.

Show 5 quoted lines
>> 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!

← back to recent threads