3 subject="""comment 13"""
4 date="2018-08-28T14:02:37Z"
6 However, that leaves the case where .gitattributes configures
7 annex.largefiles, but that's been overridden for a file to add it to git,
8 and then the repo is cloned and initted with --version=6 (or upgraded).
10 Turns out that calling git status before enabling the smudge filter
11 prevents git from getting confused about the file being modified in this
14 In the fresh clone, git has not populated the index with stat info
15 yet, and so it later runs the clean filter on the file, and that
16 respects the largefiles configuration, so the way the file is
17 stored in git is not taken into account.
19 Worked around this by adding a `git status` call to the v6
20 initialization/upgrade.