summaryrefslogtreecommitdiff
path: root/doc/bugs/adds_file_destined_for_annex_into_git_in___39__addurl__39__/comment_1_d598317883753baf02175a3bf866e08a._comment
blob: e03e574f399c09e0182eaa320c9c0a420290b97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2016-11-21T15:12:54Z"
 content="""
It's sufficient to have "* annex.largefiles=(largerthan=100kb)"
in .gitattributes.

Even "* annex.largefiles=(largerthan=0kb)" will reproduce it.

Ok, I see why.. It's running the largefile matcher on the destination file
before it renames the temp file to it!

Seems to have been broken this way ever since addurl got largefiles
support. Testing didn't catch it because it only affects largefiles
expressions that need to examine the file.

Fixed in git. Audited other checkFileMatcher calls for this problem;
the rest are ok.
"""]]