Re: Overly aggressive .gitignore file?
From: Linus Torvalds
Date: Tue Jul 04 2023 - 17:21:00 EST
On Tue, 4 Jul 2023 at 14:15, Willy Tarreau <w@xxxxxx> 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