Update working tree files fully atomically

This avoids commit churn by the assistant when eg,
replacing a file with a symlink.

But, just as importantly, it prevents the working tree being left with a
deleted file if git-annex, or perhaps the whole system, crashes at the
wrong time.

(It also probably avoids confusing displays in file managers.)
This commit is contained in:
Joey Hess 2013-04-02 13:13:42 -04:00
parent 8c52b20cc7
commit 38d61f934d
8 changed files with 34 additions and 21 deletions

1
debian/changelog vendored
View file

@ -26,6 +26,7 @@ git-annex (4.20130324) UNRELEASED; urgency=low
repositories.
* assistant: Fix bug that could cause direct mode files to be unstaged
from git.
* Update working tree files fully atomically.
-- Joey Hess <joeyh@debian.org> Mon, 25 Mar 2013 10:21:46 -0400