When accessing a local remote, shut down git-cat-file processes afterwards, to ensure that remotes on removable media can be unmounted. Closes: #758630
This does mean that eg, copying multiple files to a local remote will become slightly slower, since it now restarts git-cat-file after each copy. Should not be significant slowdown. The reason git-cat-file is run on the remote at all is to update its location log. In order to add an item to it, it needs to get the current content of the log. Finding a way to avoid needing to do that would be a good path to avoiding this slowdown if it does become a problem somehow. This commit was sponsored by Evan Deaubl.
This commit is contained in:
parent
83dc82c232
commit
96dc423e39
4 changed files with 23 additions and 1 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -3,6 +3,9 @@ git-annex (5.20140818) UNRELEASED; urgency=medium
|
|||
* Make --help work when not in a git repository. Closes: #758592
|
||||
* Ensure that all lock fds are close-on-exec, fixing various problems with
|
||||
them being inherited by child processes such as git commands.
|
||||
* When accessing a local remote, shut down git-cat-file processes
|
||||
afterwards, to ensure that remotes on removable media can be unmounted.
|
||||
Closes: #758630
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 19 Aug 2014 12:52:41 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue