From patchwork Thu Jan 27 19:08:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Schindelin X-Patchwork-Id: 12727200 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 75019C4332F for ; Thu, 27 Jan 2022 19:08:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245441AbiA0TIf (ORCPT ); Thu, 27 Jan 2022 14:08:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiA0TIe (ORCPT ); Thu, 27 Jan 2022 14:08:34 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B8A6C061714 for ; Thu, 27 Jan 2022 11:08:34 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id c190-20020a1c9ac7000000b0035081bc722dso2485096wme.5 for ; Thu, 27 Jan 2022 11:08:33 -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=cvEFxvKx5GP6QJQUwCEiIp0qkV+5IpJKhEKEzXj3nS45Tq0x5op9YVfv7HtooY5LOs cZIazWevv4+eh5PYwKNDZKgPT904ItgUgJvxsjIBm9Atk8/1SkXmOC8do/xoo12QaOBy 5TnTxA12rCQAziEs+5A+wpt2K/fNi/PWTNsqRc4+LN0ujhAvDkSOBzNFst1PHPOUvSLd +xan8uTg4fE1VDfgyTHbCnpQSpJevCy8qJAngyynNWyHwz6kDaOB7qzAeATcRZW1PXs2 +6U000IqKlxG6w5rCOHZlg7qSF8clRvCLcYS5QQqq/g+ghcAMNDcWDHBK4idXU45SdAy zK2g== 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=Z6cgsd9TnXohbIkFt8hPHJHZ68BjBsbZSQJGCX4A3dXtbxJxiXhdkM33jHsdWLuO79 5cmlVYJhlMzC5pjt4zUGxWwST7R30iYuovjm5HhtjcC4N3TpWSpgH5knZtW1/YDGLb5h repg5ORyLWSdiifmNEvn0vedF1l/E91l0l1dBZca+7YgU6Evb4z9Jn9pQOs39fjMnX+5 iLZcVjGS/nUdX5BHPA7Ths0BHW22le6cNNeoI6Yvg1ECn7Ytmf5yWCtKMLj0r6T3GmDs 3NJUWOGVt2E9gz0lH/yKc1hWP7QMUUocJtmHCKHRpuPZ51sE7DmVXZ02HDoe3LmzHbb6 xHbw== X-Gm-Message-State: AOAM530SHxZmx724v5a5PnOSd1bmgM9loQvRyiYk0To6Aooss9aNA0h/ aXiupJYoAWZvdca40UiBlih6biANk0Y= X-Google-Smtp-Source: ABdhPJwRIPqzwquW7W2JBUHPDReUDfWEneIGGBK7k2GlQvdnp/2EGMvGZF+vp0eyFfehkFUaqcB+9A== X-Received: by 2002:a05:600c:17d5:: with SMTP id y21mr4528764wmo.102.1643310512324; Thu, 27 Jan 2022 11:08:32 -0800 (PST) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id 16sm128330wmj.12.2022.01.27.11.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 11:08:31 -0800 (PST) Message-Id: <704bb2ba18ee3af5857064f6fd61689f98da0480.1643310510.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Thu, 27 Jan 2022 19:08:27 +0000 Subject: [PATCH v2 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=