fix reversion in v5 git-annex add of unlocked file
authorJoey Hess <joeyh@joeyh.name>
Wed, 16 Dec 2015 18:27:12 +0000 (14:27 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 16 Dec 2015 18:27:12 +0000 (14:27 -0400)
commit35f6a78b6635c290789e5102ab5000cebd9bf619
treef50f9f37c98decd8305190601855cffc43a989d1
parent38a23928e9d45b56d6836a4eac703862d63cf93c
fix reversion in v5 git-annex add of unlocked file

In v5, lookupFile is supposed to only look at symlinks on disk (except when
in direct mode).

Note that v6 also has a bug when a locked file's symlink is deleted and is
replaced with a new file. It sees that a link is staged and gets that
key.
Annex/WorkTree.hs