]> dgit.raspbian.org Git - git-annex.git/commit
fix handling of ERROR in response to CHECKPRESENT
authorJoey Hess <joeyh@joeyh.name>
Fri, 28 Jun 2024 17:42:25 +0000 (13:42 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 28 Jun 2024 17:46:27 +0000 (13:46 -0400)
commita6ea057f6be427026f67d4082455c22f51985b5b
treea0f10cfe12f5518035e35eb528c2d6aaf1ed318a
parentd3c75c003a508fdbe91f0dc8376381620854a454
fix handling of ERROR in response to CHECKPRESENT

That error is now rethrown on the client, so it will be displayed.

For example:

$ git-annex fsck x --fast --from AMS-dir
fsck x (special remote reports: directory /home/joey/tmp/bench2/dir is not accessible) failed

No protocol version check is needed. Because in order to talk to a
proxied special remote, the client has to be running the upcoming
git-annex release. Which has this fix in it.
Annex/Proxy.hs
P2P/Protocol.hs
Remote/Helper/P2P.hs