]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lib: Add stale 'raid6' directory to .gitignore file master
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jun 2026 21:09:49 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 21 Jun 2026 21:09:49 +0000 (14:09 -0700)
commitef0c9f75a19532d7675384708fc8621e10850104
tree663df4f1349a5aaf9a5febc9018a1798ee51f434
parent2e05544060b9fef5d4d0e0172944e6956c55080f
lib: Add stale 'raid6' directory to .gitignore file

I keep having to do this, because people think they can just move
directories around and move the gitignore files around with them.

You really can't do that - the old generated files stay around for
others, and still need to be ignored in the old location.

So when moving gitignore entries around because you moved the files (or
when moving a whole gitignore file around because the directory it was
in moved), the old gitignore situation needs to be dealt with.

Yes, those files may have moved in *your* tree when you moved the
directory.  And yes, new repositories will never even have seen them.
But all those other developers that see the result of your move still
likely have a working tree with the old state, and the files that were
hidden from git by an old gitignore file do not suddenly become
relevant.

Fixes: 3626738bc714 ("raid6: move to lib/raid/")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/.gitignore