summaryrefslogtreecommitdiff
path: root/doc/git-annex-uninit.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-02 13:55:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-02 13:55:26 -0400
commit6827ee5dff243fde8f7343937feb844d12d51dcf (patch)
tree56f13d5945115b9b2920c4ea3dff243e6ccdf933 /doc/git-annex-uninit.mdwn
parentb530f18fda5f1fb611b072440ee810ff6bacc3b0 (diff)
info: Improve cleanup of stale transfer info files.
In my git-annex repos, I found some stale transfer info files without lock files. Pass a mode to tryLockExclusive, so it will create the lock file if not present, and so not fail to clean up such transfer info files. Normally, transfer info files are accompanied by a lock file. But, when alwaysRunTransfer is used, the locking can fail and it will still write the transfer info file. Perhaps there are other cases too? Note that mkProgressUpdater's meter writes to the transfer info file too, and it might be possible for that meter to fire after runTransfer has cleaned up. This commit was sponsored by andrea rota.
Diffstat (limited to 'doc/git-annex-uninit.mdwn')
0 files changed, 0 insertions, 0 deletions