File: day_159__tmp_file_cleanup.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (12 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
Today was mostly spent driving across Brazil, but I had energy this evening
for a little work on git-annex.

Made the assistant delete old temporary files on startup. I've had
scattered reports of a few users whose `.git/annex/tmp` contained many
files, apparently put there by the assistant when it locks down a file
prior to annexing it. That seems it could possibly be a bug -- or it could
just be unclean shutdowns interrupting the assistant. Anyway, this will
deal with any source of tmp cruft, and I made sure to preserve
tmp files for partially downloaded content.

[[!meta date="Sun, 27 Apr 2014 22:12:55 -0300"]]