diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-22 15:20:03 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-22 15:20:03 -0400 |
commit | 00e240f3803384ae8761f2d5bc95319351f4e0fa (patch) | |
tree | 67a9639c72a8bd8239abb377d77962f4ba9c2a5a /Command/Add.hs | |
parent | 0da2a837d1634164695591029072b88cd56b46e7 (diff) |
make linkAnnex detect when the file changes as it's being copied/linked in
This fixes a race where the modified file ended up in annex/objects, and
the InodeCache stored in the database was for the modified version, so
git-annex didn't know it had gotten modified.
The race could occur when the smudge filter was running; now it gets the
InodeCache before generating the Key, which avoids the race.
Diffstat (limited to 'Command/Add.hs')
0 files changed, 0 insertions, 0 deletions