mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00

When using the content of the `clamav` tarball in a git repository to version a debian or RedHat package for example. We should never alter the files from cargo or this result in corrupted signature and thus we cannot install the files. As the repo provides its own `.gitattributes` we cannot easily overwrite it without manually updating `.git/info/attributes`. Alternatively we could remove the `.gitattributes` file from the tarball when generating it.
19 lines
462 B
Text
19 lines
462 B
Text
# Handle line endings automatically for files detected as text
|
|
# and leave all files detected as binary untouched.
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
|
|
# Files that should be left untouched (binary is macro for -text -diff)
|
|
*.ref binary
|
|
|
|
# Preserve signature for .cargo/vendor files (from the tarabll)
|
|
+/.cargo/vendor binary
|
|
|
|
#
|
|
# Exclude files from exporting
|
|
#
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|