From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 4AAB81F464 for ; Thu, 26 Sep 2019 18:54:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728497AbfIZSy4 (ORCPT ); Thu, 26 Sep 2019 14:54:56 -0400 Received: from bsmtp.bon.at ([213.33.87.14]:8386 "EHLO bsmtp.bon.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbfIZSy4 (ORCPT ); Thu, 26 Sep 2019 14:54:56 -0400 Received: from dx.site (unknown [93.83.142.38]) by bsmtp.bon.at (Postfix) with ESMTPSA id 46fPHf0S1fz5tl9; Thu, 26 Sep 2019 20:54:54 +0200 (CEST) Received: from [IPv6:::1] (localhost [IPv6:::1]) by dx.site (Postfix) with ESMTP id 4A77AFA4; Thu, 26 Sep 2019 20:54:53 +0200 (CEST) Subject: Re: git-gui: disable the "loose objects popup" dialog? To: Birger Skogeng Pedersen References: Cc: Git List From: Johannes Sixt Message-ID: <91e5b3b0-08f9-66a8-ebdf-90effd34c888@kdbg.org> Date: Thu, 26 Sep 2019 20:54:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Am 26.09.19 um 19:31 schrieb Birger Skogeng Pedersen: > Every once in a while, I get the "This repository currently has > approximately (some number) loose objects." popup dialog. > > I don't want to sound arrogant, but I find this popup along with the > dialog showing after that prints the result of the compression, > immensely annoying. And I've seen people mention before that they > would, in some casese, rather not have to deal with the dialog[0]. > > [0] https://stackoverflow.com/questions/1106529/how-to-skip-loose-object-popup-when-running-git-gui > > I get that git-gui merely wants to resolve a performance issue. But > personally I'd prefer if git could just assume I always wanted to > compress the database, and automatically do it without bugging me with > the popups. I dislike the popup, too. But I want total control over my repository: No automatic compression behind my back, in particular, when that expires reflogs, and git-gui does that. > I propose we implement the following options in git-gui: > - ignore loose objects (do not show the popup), disabled by default. > - automatically, silently compress the database, without prompt. Also > disabled by default. What about a configurable limit, but still show the dialog? -- Hannes