aboutsummaryrefslogtreecommitdiff
path: root/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-06 16:30:49 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-06 16:49:41 -0400
commitd1ce927d95fe7c331cbff3317797a60aa288738b (patch)
tree829907a023dffa26da9eb60481e2269af406b1ac /Remote.hs
parent6a639f6f0880d96743310728719fc797a60b2ad8 (diff)
unused: Bug fix when a new file was added to the annex, and then removed (but not git rmed). git still has the add staged in this case, so the content should not be unused and was wrongly treated as such.
So, we need to look at both the file on disk to see if it's a annex link, and the file in the index too. lookupFile doesn't look in the index if the file is not present on disk.
Diffstat (limited to 'Remote.hs')
0 files changed, 0 insertions, 0 deletions