Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29291237rwd; Wed, 5 Jul 2023 09:41:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fQx5RqV6PtM4NKzyD0pi4ipHM3ETVgCtRuyi2tM1irQvCdoN6dngb/t6pOHbGu9twGNgB X-Received: by 2002:a05:6808:2184:b0:3a1:c08b:3f22 with SMTP id be4-20020a056808218400b003a1c08b3f22mr19813344oib.43.1688575311535; Wed, 05 Jul 2023 09:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688575311; cv=none; d=google.com; s=arc-20160816; b=imorUYJdGPAxHt/MJVftkQE7gpL108EStkv+AEMgoXgLttMIYok9ILt8OJ6xcx+9fd +V9fjHOO14NmEixhaaN3vRwg4ICUtwG4wjEpm8zTRQXb7z2TDxoAJKb4KseSU7V1vLyj eKwN7oWD63fIYrZpe8atGy+IuCRPRLeBFA0ztnbpJyekmHl2A8LWl9ydMPo/qI3ymKS8 7DlPElsd4WkBxd8YWVoPHsBRb7s7Vj9Bv7ESXX5Ix6vbgRdKrT9uCwijj1Dyv3ZwhION jcwCVPU52/+8q0Yr01UcTQoRkweHVTDH60kEVVoZ/naP0/24ciqKi9hpO01E1QfHLTgh M6yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fpvfp9mESDY01l0h7rjjrq+BOiWPwnmYpYtHVefOa34=; fh=HGMHfouH9iifGVn9Bf6WbBEUHLAQteVh7ZQS67GYze8=; b=WcE63LxOkIau5QFx0jF0LOi2OM0SUG69TlSiRFdqKQDaxV2Z1UtbOSIUMU0ox+SWOm pxg7KKgRjyLTODNR//9UL3DH0/cWYURS1n1rxJwsaPhvwPaeqL/peGFfimBLiAx3rUtw OHhFGzl3OMfRLx0mS/15jsdIIg+VQ6UfkMxDUNUzV79JeqTw1dk6PgMkybBjcSvLmY2z TPOKA7tfjSYork+NWqJPW/9oQCxmt1+u/95FkmwX6EPUmP0/rwnS07uh+FurChOCajPc hylIOgvjGadFvJlZciuvHdeGPt1UEuAaixXl/u+S7iRiQxCwi3DtEGDxKs5YEw5ogUax rEvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ALCFOw9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g184-20020a636bc1000000b00557a1ac7760si21371722pgc.845.2023.07.05.09.41.38; Wed, 05 Jul 2023 09:41:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ALCFOw9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232887AbjGEQ3N (ORCPT + 99 others); Wed, 5 Jul 2023 12:29:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbjGEQ3M (ORCPT ); Wed, 5 Jul 2023 12:29:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAEEE171B; Wed, 5 Jul 2023 09:29:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D22161607; Wed, 5 Jul 2023 16:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 927E7C433C8; Wed, 5 Jul 2023 16:29:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688574549; bh=5YBiOBnq0zAsQvss9m7MJWcWcO0FevQNkDA3keUenzk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ALCFOw9Iivm1aMAHNlKN1FxP5eyEWeFaUbaxjhiCs6Xue9HSKyzU6Mv611fMJHZaq hkW9z83xAo8qOtwllrjU/oSOlK3fsCpwyehBtl46HKuADW9DrvNTvHCWL052s/37uA Frk7slhvQf5ttlsxrDUvaJcNk9eEGe6PCOnwdujrOYpaNT0gkSsOKpc5CAipyvIHqn PwLEmruZHNq0RUVVSZNuI2tolATyzP5TbbmMcReTsd5GQFGTm436LkP8VeusBEwQdM wdqhIhRVKpJ6cZWrBfifahUbqHoOHjd0BH2ML/XHTSvx7KN7N95oiN13YyLwtFKJBR ILdqfE1eJlMLA== Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-56344354e2cso4813758eaf.1; Wed, 05 Jul 2023 09:29:09 -0700 (PDT) X-Gm-Message-State: ABy/qLZMT+qX9B9Z9ABqdm84u9Qr2Kj8m2iKtvNWNXBTR5ZNCKbCMljK JQej3qY/wmi3V/zLMzbF8HGxlwNVcz53Vnpq6Pc= X-Received: by 2002:a05:6871:6a9:b0:1b3:ef56:270b with SMTP id l41-20020a05687106a900b001b3ef56270bmr2110602oao.29.1688574548871; Wed, 05 Jul 2023 09:29:08 -0700 (PDT) MIME-Version: 1.0 References: <20230705153405.GA1382903@mit.edu> In-Reply-To: <20230705153405.GA1382903@mit.edu> From: Masahiro Yamada Date: Thu, 6 Jul 2023 01:28:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Overly aggressive .gitignore file? To: "Theodore Ts'o" Cc: Linus Torvalds , Nicolas Schier , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 6, 2023 at 12:34=E2=80=AFAM Theodore Ts'o wrote= : > > On Wed, Jul 05, 2023 at 10:59:28AM +0900, Masahiro Yamada wrote: > > Perhaps, a slightly similar case is *.patch. > > (We do ignore *.patch) > > > > People quite often run 'git format-patch'. > > And, the generated patches have similar prefixes. > > (0001-, 0002-, 0003-, ..., for good reasons) > > > > The autocomplete does not work if 000* files > > exist from the previous time I ran 'git format-patch'. > > I repeatedly run 'rm -f 00*' even if 'git status' does not show them. > > Autocomplete "works", in so far that if you type 0, it will > autocomplete up to 000 and then ring the terminal bell, at which point > I'll type say, 1, and then if there are previous *.patch files, > it will ring the terminal bell again, and then if you type a > second time, it will list the possible autocompletes. Of course, "autocomplete does not work" means "it does not fill out the whole filename by pressing the tab key just one time". I thought it was obvious in the context of this thread. Anyway, thanks for coming back again to point it out. > > I will also say that since of "rm -f " is too > easy to accidentally screwup and delete something I would care about, > my solution is "git format-patch -o /tmp/p ...", since then I can > clear out the files by typing "rm -r /tmp/p". > > Cheers, > > - Ted > > P.S. Also note that "git format-patch" will automatically create > /tmp/p if it doesn't exist, unlike how b4 works with the -o option. --=20 Best Regards Masahiro Yamada