direct: Fix handling of case where a work tree subdirectory cannot be written to due to permissions.
Running `git annex direct` would cause loss of data, because the object was moved to a temp file, which it then tried to replace the work tree file with, and on failure, the temp file got deleted. Now it's instead moved back into the annex object location.
This commit is contained in:
parent
be91121514
commit
1efa51f344
3 changed files with 15 additions and 4 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
git-annex (5.20140710) UNRELEASED; urgency=medium
|
||||
|
||||
* Fix minor FD leak in journal code.
|
||||
* direct: Fix handling of case where a work tree subdirectory cannot
|
||||
be written to due to permissions.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Wed, 09 Jul 2014 23:29:21 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue