Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28183881rwd; Tue, 4 Jul 2023 14:44:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5iJqx+UH2tCGCJEHxG7apW0p8/SZtkdnRDWjXaXFYn++B3yQihVJGnz8Pk3j/O5+jEPg5L X-Received: by 2002:a05:6808:1925:b0:398:2c03:45fc with SMTP id bf37-20020a056808192500b003982c0345fcmr18899638oib.15.1688507075252; Tue, 04 Jul 2023 14:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688507075; cv=none; d=google.com; s=arc-20160816; b=C7SA9TIjiL6UQIvlYmjvCVcPdZeDfzDOoqbf2UQ5JzJiCS7wG8wml78Ziw1rXrzyTR mBCyalDBjVg8gQJQL7Sda2YfJWRKCId8oE1X394bCfk9wPL5cBK4JjqklY42hhvEcU88 2vBne5iamQaGJRwNX3O1qIQ29JcecrdAFFhKRzJqy9XDxcvyVgXGQiiDDUrXMZKy7Awd Zg06BmB7MdkqQlxy5bFFKVRoi1u4UuZPHokFQakF/41/JpUPtvja/dW1IVd+bL2DKH94 njyK95yOrD3WO+ITo2V0qpJovRUXzZ1DmBzPGV9zszEU5Rp5R/7rMnqNRk2qRLgPY+1n x4yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=n75Dh2puDmWxs7IMDzFSoZlMiY6RQZaHybFGnsL1ZMY=; fh=dP7SL678kO9DZA6JzGFCSNr577FrevVhlUKApCuST98=; b=FzsiHClMvC32hGwpEWCNhANdyizRBeC+rHMCviTjBLzvYUd8YgZxDGBlkFkn+q6JyH UU9JzvvWxASu2mW5khFzj4weVsSGUtFPRMrufP97zGQjmzmQIBrf7hcOUukMzRDm1GYy /VEj9ODE8eihDARVex2ukVOn+Tr6dQ30pXz5ihmsbUxp1npWuoAwd1q80FzVgi6bZXIT x3aWqQnSdwic4aFoHCzC3vGpJXj82/9+U6GtoZlMNijomld43dXeGtqWrWgEauVD5Lkf XHPoiaKT1zduV1fmZCa1gX4cejybrnNPprs7YkJguC8kc6v7Ge0s8J+Mn8KgWP3mlI2U R1IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=QOODvko3; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t40-20020a056a0013a800b00682b0b7ed43si1220384pfg.368.2023.07.04.14.44.18; Tue, 04 Jul 2023 14:44:35 -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=@linux-foundation.org header.s=google header.b=QOODvko3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbjGDVU7 (ORCPT + 99 others); Tue, 4 Jul 2023 17:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjGDVU5 (ORCPT ); Tue, 4 Jul 2023 17:20:57 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD5D127 for ; Tue, 4 Jul 2023 14:20:56 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9891c73e0fbso13088866b.1 for ; Tue, 04 Jul 2023 14:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1688505654; x=1691097654; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=n75Dh2puDmWxs7IMDzFSoZlMiY6RQZaHybFGnsL1ZMY=; b=QOODvko3WFZFhybeNOP3lbChfYO1Uc3IsA5HH7WSwBUgpgyh1EyfYWsHcn3/OiI0s5 EZEjJG6l6ecCFsAopwbb9PHUYFUDDCWOF/SvmiZrJLJHszYY7zanT9wcNB7r6h7J5bZs Tv9sfBOAsIbeONQX2EOkPHY5M2SHe9I/Rslnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688505654; x=1691097654; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=n75Dh2puDmWxs7IMDzFSoZlMiY6RQZaHybFGnsL1ZMY=; b=PODNybGg1kIlusyRY9B8uHoncnHO7BJulEj5qU5doczDmtWJhm297sPzCdxAmbsqfy MPoUQoNyjMYI4ci7/3Chkl0KxJmsO22Ide19mP/iLNpHEyWDjrfc1S8ff3h4u5wwe4GL fW1ss2m3jStabnonDWX1xaF6nc/oP9eXJE44NTQ+jKvFvZTz8xm5hC1Y1a9xeCVb96Kz DDfpBPaU00NX5a4XX80D0qmHp0/hQ/PwDsekLnmRtVhW9gO/JBk7qFgU8Y4emc87KEJC q/PDGT6y5gW/AWBTtzzk/Louh9JR8lyXW5gAlQUmIP4AmezMj5CVTJCh/LqnPATtZvgK Umtw== X-Gm-Message-State: ABy/qLaCiNlu5xtylKsHjbJWlz5ozRzJLbv2hy70SIfi2tbC90jIjRlJ eiBkIZHjLGNs5Jpzn6oMQxiA+EIZmcH0X7CKUk+ddQ== X-Received: by 2002:a17:907:2d2c:b0:98d:ebb7:a8b0 with SMTP id gs44-20020a1709072d2c00b0098debb7a8b0mr419800ejc.14.1688505654415; Tue, 04 Jul 2023 14:20:54 -0700 (PDT) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com. [209.85.208.52]) by smtp.gmail.com with ESMTPSA id qk3-20020a170906d9c300b00984822540c9sm13784266ejb.96.2023.07.04.14.20.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 14:20:53 -0700 (PDT) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-51a52a7d859so139411a12.0 for ; Tue, 04 Jul 2023 14:20:53 -0700 (PDT) X-Received: by 2002:a17:907:7f26:b0:966:1bf2:2af5 with SMTP id qf38-20020a1709077f2600b009661bf22af5mr379213ejc.22.1688505653634; Tue, 04 Jul 2023 14:20:53 -0700 (PDT) MIME-Version: 1.0 References: <20230704211509.GA21834@1wt.eu> In-Reply-To: <20230704211509.GA21834@1wt.eu> From: Linus Torvalds Date: Tue, 4 Jul 2023 14:20:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Overly aggressive .gitignore file? To: Willy Tarreau Cc: Masahiro Yamada , Nicolas Schier , Nick Desaulniers , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Tue, 4 Jul 2023 at 14:15, Willy Tarreau wrote: > > I don't understand why your completion on "git am" should rely on > *tracked* files. It doesn't. Read that email again. It fails on *untracked* files that are hidden from "git status" and friends by our .gitignore pattern: *.mbx added by commit 534066a983df (".gitignore: ignore *.cover and *.mbx") So when I have those old stale mbx files around, I don't see them, because "git status" will happily say nothing to commit, working tree clean with no mention of those old turds. Really. Try it. > From a workflow perspective that makes no sense, > as by definition, git am will consume only *untracked* files. I don't think you actually read my email. Linus