-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Description
If you try to encrypt a small file (less than 8 chars) it fails:
# git add <filename>
fatal: <filename>: clean filter 'crypt' failed
The problem is with the read
command in git_clean():
Line 129 in dce1ad0
read -rn 8 firstbytes <"$tempfile" |
One solution is to add an or
statement like this:
read -rn 8 firstbytes <"$tempfile" || firstbytes=X
Metadata
Metadata
Assignees
Labels
No labels