Re: [PATCH/RFC 3/3] git-gui: Do not suggest a gc if gc --auto would not do it
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 18, 2010, 15:49 UTC
- Message-ID
- <20100218154911.GA32372@progeny.tock>
- In-Reply-To
- <20100218144122.GC30520@progeny.tock>
Jonathan Nieder wrote:
> The gui-specific heuristic of assuming Windows filesystems will > tolerate fewer loose objects has been carried over.
Er, was carried over in a previous local patch but not this one. Sorry for the confusion.
Jonathan
Show 7 quoted lines
> set ndirs 1
> - set limit 8
> + set limit [expr {($gc_auto_threshold + 255) / 256}]
> if {[is_Windows]} {
> set ndirs 4
> - set limit 1
> }