summaryrefslogtreecommitdiff
path: root/Backend.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-19 14:10:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-19 14:12:23 -0400
commit2e819796cdfdfccb2ebef7b10e2653e58d832d83 (patch)
treef14a44cba9c85a04858c073a73586faad1740ef8 /Backend.hs
parentae5433c4caf0ee57e3338df6dcd625f20ece7101 (diff)
convert lockContent to use new LockPools
Also cleaned up the code, avoiding creating a lock file if we're going to open it for create later anyway. And, if there's an exception while preparing to lock the file, but not at the point of actually taking the lock, throw an exception, instead of silently not locking and pretending to succeed. And, on Windows, always use lock file, even if the repo somehow got into indirect mode (maybe with cygwin git..)
Diffstat (limited to 'Backend.hs')
0 files changed, 0 insertions, 0 deletions