git-annex deletes all tmp files on shutdown, if everything succeeded. This presents 2 problems:
- If git-annex is rsyncing something and another one is run, it will delete the running instance's tmp files.
- If a long-running rsync transfer is interrupted partway through, the tmp file was expensive to obtain, and one needs to avoid running git-annex to do anything else until that transfer can be resumed and finished.
--Joey
I've got a stale .git/annex/tmp/rsynctmp file that just won't go away, and I think its because I cancelled an in-progress rsync, then did something else, as you describe.
Is it ok to manually remove the file?
Thanks! Albert
rsynctmp
is only used when sending files to a rsync special remote. You can certianly delete it if you got a stale one, but the next time a file is sent to a rsync special remote it should delete it anyway.