From patchwork Fri Jan 28 12:02:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Schindelin X-Patchwork-Id: 12728302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25C16C433FE for ; Fri, 28 Jan 2022 12:02:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244290AbiA1MCz (ORCPT ); Fri, 28 Jan 2022 07:02:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242911AbiA1MCy (ORCPT ); Fri, 28 Jan 2022 07:02:54 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF98C061714 for ; Fri, 28 Jan 2022 04:02:54 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id a13so10432863wrh.9 for ; Fri, 28 Jan 2022 04:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=Iwq7WehpMs5Yl9L12/kZ1dSjIALu6riIJpTzPAUgSOM=; b=nXLNjt2qy1YAvRE0LjnWNXkGY3K3clpilarfrMKxPo3q4+YuEGbH8myIV/NrJozwup tg6kViRZ6UGhnH8Cd6Zj+7RI3Vl9aoSkZhc93sX/iqdVbrXzjig8Af47y3Egnkzq82Xk oPKLEKW+h98NddmjfK9V5N81QmCZ/FCZc1zM1K5vpsctALrENEs6hp+70+Dn+/MYsa+T XxZA1gx7RCm5EWtCub+MUIsI2NhalR7eCotY5lLUvnKFYly/hUhKA6c3WpqsZUUyExc0 hU//7h0AIIFecvPye3bwvYhFhZKwqd/J6Z5I6kiciqi7CentyJyo66kkonSWbl9Rl+69 r7fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=Iwq7WehpMs5Yl9L12/kZ1dSjIALu6riIJpTzPAUgSOM=; b=4/i+fxcfhz7rFsGa678mmTMP25HsLrJs5/pvP4QWjDlRUPSbXzIbjW3UFe0c7RsUL0 GdHqvnePpzw6FZ5loFpuklri5Wu1o8dcHVI+X1BZ8zOWzvtiCwe/676bGrYAugIB5qy7 Zd8dcuCjzs2Yi8G1KqcSmZvMSBfpJGPT/9G3XrOJUHDeKq7/157pUclqOc1Pd9kX6LLF ZAgIB9JVU6KT0crM/oOhXdExDXa0UvwlW8/n9hZoZkYMe04Lm1qHpvP67cDke8WypJ1d 5gI/B/11VfxNZie8jcfYcZvv3W6MM+uFy8Q2bzpXx7L/bQ55JJoigvkqLv0MYoxSmXBb tF9A== X-Gm-Message-State: AOAM530MB4OQIHIAIv/fX4cUhIz7Yc3CnlBP/Dw/lK6Kc4c9KMY7hGmq XSwUIC499uqV3v1DUgQusPufR+1SAI0= X-Google-Smtp-Source: ABdhPJziWZNHtR8Dl7G8Coqcxh306WwA9MiTz7q+KHnJDTbKntXCQHrk3fw5Z7FlU1LRFN7MrvyE+Q== X-Received: by 2002:a5d:448e:: with SMTP id j14mr6827895wrq.399.1643371373027; Fri, 28 Jan 2022 04:02:53 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id b2sm5470179wrd.64.2022.01.28.04.02.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 04:02:52 -0800 (PST) Message-Id: <704bb2ba18ee3af5857064f6fd61689f98da0480.1643371370.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Fri, 28 Jan 2022 12:02:48 +0000 Subject: [PATCH v3 1/3] docs(diff): lose incorrect claim about `diff-files --diff-filter=A` Fcc: Sent MIME-Version: 1.0 To: git@vger.kernel.org Cc: Taylor Blau , =?utf-8?b?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , Johannes Schindelin , Johannes Schindelin Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Johannes Schindelin From: Johannes Schindelin Originally, before we had `--intent-to-add`, there was no way that `git diff-files` could see added files: if a file did not exist in the index, `git diff-files` would not show it because it looks only at worktree files when there is an index entry at the same path. We used this example in the documentation of the diff options to explain that not every `--diff-filter=