git-annex/Remote
Joey Hess 96dc423e39 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.
2014-08-20 12:07:57 -04:00
..
Directory pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
External unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Helper forgot some lifts 2014-08-20 11:51:47 -04:00
Rsync rsync special remote: Fix slashes when used on Windows. 2014-03-18 13:02:10 -04:00
WebDAV WebDAV: Avoid buffering whole file in memory when downloading. 2014-08-08 13:40:55 -04:00
Bup.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Ddar.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Directory.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
External.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
GCrypt.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Git.hs When accessing a local remote, shut down git-cat-file processes afterwards, to ensure that remotes on removable media can be unmounted. Closes: #758630 2014-08-20 12:07:57 -04:00
Glacier.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Hook.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
List.hs factor out getRemoteGitConfig 2014-05-16 16:08:20 -04:00
Rsync.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
S3.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Tahoe.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Web.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
WebDAV.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00