diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-20 17:29:02 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-20 17:39:16 -0300 |
commit | 77e9e4938d06c2cfeb9ed7722687c6ee111fef71 (patch) | |
tree | c96945171004b3d60679060fed3da881fd9ed7b3 /.gitattributes | |
parent | Add .editorconfig with basic rules for all files (diff) | |
download | firejail-77e9e4938d06c2cfeb9ed7722687c6ee111fef71.tar.gz firejail-77e9e4938d06c2cfeb9ed7722687c6ee111fef71.tar.zst firejail-77e9e4938d06c2cfeb9ed7722687c6ee111fef71.zip |
.gitattributes: mark some binary files as such
Git currently correctly detects them as binary; the changes are done to
avoid depending on the auto-detection and also for documentation.
Commands used to list all of the files that git detects as non-text
files:
$ git ls-files --eol | grep -e 'i/-text' -e 'w/-text'
i/-text w/-text attr/text=auto eol=lf etc-fixes/seccomp-join-bug/eecf35c-backports.zip
i/-text w/-text attr/text=auto eol=lf test/appimage/Leafpad-0.8.17-x86_64.AppImage
i/-text w/-text attr/text=auto eol=lf test/appimage/Leafpad-0.8.18.1.glibc2.4-x86_64.AppImage
i/-text w/-text attr/text=auto eol=lf test/filters/memwrexe
i/-text w/-text attr/text=auto eol=lf test/filters/memwrexe-32
i/-text w/-text attr/text=auto eol=lf test/filters/namespaces
i/-text w/-text attr/text=auto eol=lf test/filters/namespaces-32
Note: The committed seccomp filters do not have a file extension, so
ignore them for now.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index e6f32abc0..61bf3bfb7 100644 --- a/.gitattributes +++ b/.gitattributes | |||
@@ -1,3 +1,6 @@ | |||
1 | * text=auto eol=lf | 1 | * text=auto eol=lf |
2 | 2 | ||
3 | *.AppImage -text | ||
4 | *.zip -text | ||
5 | |||
3 | /etc/inc/*.inc linguist-language=text | 6 | /etc/inc/*.inc linguist-language=text |