]> dgit.raspbian.org Git - git-annex.git/blob
c6df657f3f6652598609f585aa9fe5a9f9bdb951
[git-annex.git] /
1 [[!comment format=mdwn
2  username="xvorsx@a3fc1a0cf228782f624e5eb21ba8a664227b6c60"
3  nickname="xvorsx"
4  avatar="http://cdn.libravatar.org/avatar/f8a11fb3152e472307bde487d188b23a"
5  subject="comment 5"
6  date="2023-08-07T07:19:56Z"
7  content="""
8 Thank you for the reference!
9
10 I may try to use this trick, but I doubt it would be sufficient for me:
11
12 > To avoid the problem, git-annex smudge --clean relies on a not very well documented trick: It is fed a possibly large file on stdin, but when it closes the FD without reading. git gets a SIGPIPE and stops reading and sending the file. Instead of reading from stdin, git-annex abuses the fact that git provides the clean filter with the work tree filename, and reads and cleans the file itself, more efficiently.
13
14 I will keep you updated on the progress in this direction.
15 """]]