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: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 2EC271F5AE for ; Tue, 11 May 2021 22:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbhEKWdZ (ORCPT ); Tue, 11 May 2021 18:33:25 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:61727 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbhEKWdZ (ORCPT ); Tue, 11 May 2021 18:33:25 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 074C61215B8; Tue, 11 May 2021 18:32:18 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=MMb5r0poS1WeXUIl6DpkTFnHNLvACsvPwCgYBW fvmUA=; b=qmjMqRWAxBDrnzUinyDDxOUVEechRJ97q1uB5Lo+zbQZ63OGt21Nci rOsh/wmPSRf9g6JbuUFg47Bzig7Rhu6E/0zSKbONGz35Ix+BwifBNH00Ep/xY/xf 6qJRnRIa5nu1fhmJOwVbp/uQO/7CpXpZqwIpkJs4v/V+SrpgPfyjg= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id F40E41215B7; Tue, 11 May 2021 18:32:17 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 392E41215B6; Tue, 11 May 2021 18:32:15 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Elijah Newren Cc: Elijah Newren via GitGitGadget , Git Mailing List , Eric Sunshine , Derrick Stolee , Jeff King , Philip Oakley , Jeff Hostetler , Josh Steadmon Subject: Re: [PATCH v3 3/8] [RFC] ls-files: error out on -i unless -o or -c are specified References: <44a1322c44026e675ea254a00f3b50d4955ac56e.1620503945.git.gitgitgadget@gmail.com> Date: Wed, 12 May 2021 07:32:13 +0900 In-Reply-To: (Elijah Newren's message of "Tue, 11 May 2021 10:40:45 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: BC8CD5C0-B2A8-11EB-BA5F-E43E2BB96649-77302942!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Elijah Newren writes: >> If we are not defaulting to cached, then >> >> die("ls-files -i must be used with either -o or -c"); >> >> would also make sense. > > Ooh, that wording is much nicer. I'll adopt the latter suggestion, > but let me know if you'd rather I went the warning route. Even though warning would be safer, I have no strong prefeference. Either way will resolve my puzzlement. Thanks.