aboutsummaryrefslogtreecommitdiff
path: root/Annex/Content/Direct.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-20 13:37:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-20 13:37:46 -0400
commit49147d538b142ce2e206cdd9d19d7438bd47e3b3 (patch)
tree4a0fe12d468d480517ba0e65bea24f53aca310a6 /Annex/Content/Direct.hs
parentba91ab000a10cfad5d58d80d309cadaf40c3d0bd (diff)
Direct mode: Fix support for adding a modified file.
Adding a file that is already annexed, but has been modified, was broken in direct mode. This fix makes the new content be added. It does have the problem that re-running `git annex add` will checksum and re-add the content repeatedly, until it's committed. This happens because the key associated with the file does not change until the new one gets committed, so it keeps thinking the file has changed.
Diffstat (limited to 'Annex/Content/Direct.hs')
0 files changed, 0 insertions, 0 deletions