From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 819F11F453 for ; Fri, 19 Oct 2018 17:11:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727885AbeJTBSb (ORCPT ); Fri, 19 Oct 2018 21:18:31 -0400 Received: from cloud.peff.net ([104.130.231.41]:46598 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727474AbeJTBSb (ORCPT ); Fri, 19 Oct 2018 21:18:31 -0400 Received: (qmail 26355 invoked by uid 109); 19 Oct 2018 17:11:33 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Fri, 19 Oct 2018 17:11:33 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 13127 invoked by uid 111); 19 Oct 2018 17:10:44 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; Fri, 19 Oct 2018 13:10:44 -0400 Authentication-Results: peff.net; auth=none Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Fri, 19 Oct 2018 13:11:31 -0400 Date: Fri, 19 Oct 2018 13:11:31 -0400 From: Jeff King To: Eric Sunshine Cc: Ben Peart , Git List , Junio C Hamano , Ben Peart Subject: Re: [PATCH v2 2/3] reset: add new reset.quiet config setting Message-ID: <20181019171130.GA20834@sigill.intra.peff.net> References: <20181017164021.15204-1-peartben@gmail.com> <20181019161228.17196-1-peartben@gmail.com> <20181019161228.17196-3-peartben@gmail.com> <20181019164631.GB24740@sigill.intra.peff.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Fri, Oct 19, 2018 at 01:10:34PM -0400, Eric Sunshine wrote: > On Fri, Oct 19, 2018 at 12:46 PM Jeff King wrote: > > On Fri, Oct 19, 2018 at 12:36:44PM -0400, Eric Sunshine wrote: > > > How does the user reverse this for a particular git-reset invocation? > > > There is no --no-quiet or --verbose option. > > > > > > Perhaps you want to use OPT__VERBOSITY() instead of OPT__QUIET() in > > > builtin/reset.c and document that --verbose overrides --quiet and > > > reset.quiet (or something like that). > > > > I think OPT__QUIET() provides --no-quiet, since it's really an > > OPT_COUNTUP() under the hood. Saying "--no-quiet" should reset it back > > to 0. > > Okay. In any case, --no-quiet probably ought to be mentioned alongside > the "reset.quiet" option (and perhaps in git-reset.txt to as a way to > reverse "reset.quiet"). Yes, I'd agree with that. -Peff