btrfs-progs: gitignore: Ignore hidden files
PATCH v2 1/1 btrfs-progs: gitignore: Ignore hidden files
A lot of editor/IDE related config files are dotfiles, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all dotfiles.
---
changelog
v2:
- Change "hidden files" to "dotfiles" in the commit message.
- No longer mention the kernel gitignore behavior in the commit message.
--- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitignore +1 -1
@@ -64,7 +64,7 @@ /cscope.files /cscope.in.out /cscope.po.out -.clang_complete +.* /Documentation/Makefile /Documentation/*.html
Signature · 1 line
2.21.0
Quoted 5 lines · Qu Wenruo
A lot of editor/IDE related config files are dotfiles, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all dotfiles.
Fortunatelly it still works for tracked dotfiles like .travis.yml and .gitignore itself.
Quoted 9 lines · David Sterba
Quoted 5 lines · Qu Wenruo
A lot of editor/IDE related config files are dotfiles, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all dotfiles.
Fortunatelly it still works for tracked dotfiles like .travis.yml and .gitignore itself.
Didn't notice .travis.yml, but indeed i should notice .gitignore.
Any idea what's the correct way to handle them?
Just current .* or adding each possible dotfile?
Thanks,
Qu
Quoted 10 lines · Qu Wenruo
Quoted 7 lines · David Sterba
Quoted 5 lines · Qu Wenruo
A lot of editor/IDE related config files are dotfiles, like .vimrc or .clang_complete.
Instead of adding gitignore entry for each editor/IDE, just ignore all dotfiles.
Quoted 7 lines
Quoted 2 lines
Fortunatelly it still works for tracked dotfiles like .travis.yml and .gitignore itself.
Didn't notice .travis.yml, but indeed i should notice .gitignore.
Any idea what's the correct way to handle them?
Just current .* or adding each possible dotfile?
I've left .* and tested that changes to .gitignore or .travis.yml are recognized (diff, commit).