Skip to contentSkip to conversation

git-gui loose object warning every hour

BUG Michael Gebetsroither 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
It's already too late!
#1 lore raw
Quoted 5 lines · Michael Gebetsroither

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.

Quoted 2 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.

Quoted 3 lines

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.

Signature · 1 line
Shawn.
#2 lore raw
Quoted 8 lines · Shawn O. Pearce
Quoted 2 lines · Michael Gebetsroither

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.

Quoted 5 lines
Quoted 2 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

Signature · 1 line
It's already too late!