mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
Avoid altering signature for .cargo/vendor files
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.
This commit is contained in:
parent
719a8b2fea
commit
3710689577
1 changed files with 3 additions and 0 deletions
3
.gitattributes
vendored
3
.gitattributes
vendored
|
@ -9,6 +9,9 @@
|
|||
# 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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue