summaryrefslogtreecommitdiff
path: root/Command/PreCommit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-05 15:26:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-05 15:57:53 -0400
commitb61c7206806d037de3e6c20beedebe5002c1a4aa (patch)
treea963608386b4bb08d772001cb3c4d281ba537f1e /Command/PreCommit.hs
parent71d1effb4f2b6224780afea37994713a6169baf8 (diff)
assistant: Make expensive transfer scan work fully in direct mode.
The expensive scan uses lookupFile, but in direct mode, that doesn't work for files that are present. So the scan was not finding things that are present that need to be uploaded. (It did find things not present that needed to be downloaded.) Now lookupFile also works in direct mode. Note that it still prefers symlinks on disk to info committed to git, in direct mode. This is necessary to make things like Assistant.Threads.Watcher.onAddSymlink work correctly, when given a new symlink not yet checked into git (or replacing a file checked into git).
Diffstat (limited to 'Command/PreCommit.hs')
0 files changed, 0 insertions, 0 deletions