diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2022-01-28 12:02:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-28 10:18:17 -0800 |
commit | d843e319f88f85323ec9865529170181d04b7361 (patch) | |
tree | 02524e3a477fbdbb89f34051b6de421fd47a4b43 /Documentation/config/diff.txt | |
parent | Git 2.35 (diff) | |
download | tgif-d843e319f88f85323ec9865529170181d04b7361.tar.xz |
docs(diff): lose incorrect claim about `diff-files --diff-filter=A`
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=<option>` has an effect in all scenarios.
Even when we added `--intent-to-add`, the comment was still correct,
because initially we showed such files as modified instead of added.
However, when that bug was fixed in feea6946a5b (diff-files: treat
"i-t-a" files as "not-in-index", 2020-06-20), the comment in the
documentation became incorrect.
Let's just remove it.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/diff.txt')
0 files changed, 0 insertions, 0 deletions