git-annex/Remote
Joey Hess f8836306fa
remove "checking remotename" message
This fixes fsck of a remote that uses chunking displaying
(checking remotename) (checking remotename)" for every chunk.

Also, some remotes displayed the message, and others did not, with no
consistency. It was originally displayed only when accessing remotes
that were expensive or might involve a password prompt, I think, but
nothing in the API said when to do it so it became an inconsistent mess.

Originally I thought fsck should always display it. But it only displays
in fsck --from remote, so the user knows the remote is being accessed,
so there is no reason to tell them it's accessing it over and over.

It was also possible for git-annex move to sometimes display it twice,
due to checking if content is present twice. But, the user of move
specifies --from/--to, so it does not need to display when it's
accessing the remote, as the user expects it to access the remote.

git-annex get might display it, but only if the remote also supports
hasKeyCheap, which is really only local git remotes, which didn't
display it always; and in any case nothing displayed it before hasKeyCheap,
which is checked first, so I don't think this needs to display it ever.

mirror is like move. And that's all the main places it would have been
displayed.

This commit was sponsored by Jochen Bartl on Patreon.
2021-04-27 13:05:27 -04:00
..
Directory finish fixing removeLink on windows 2020-11-24 13:20:44 -04:00
External Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
Helper remove "checking remotename" message 2021-04-27 13:05:27 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
BitTorrent.hs Tahoe: Avoid verifying hash after download, since tahoe does sufficient verification itself 2021-02-09 13:42:16 -04:00
Borg.hs fix oops 2021-03-26 14:37:03 -04:00
Bup.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
Ddar.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Directory.hs fix reversion in recent CoW changes 2021-04-20 11:41:43 -04:00
External.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
GCrypt.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
Git.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
GitLFS.hs use fastDebug everywhere it can be used 2021-04-06 15:41:24 -04:00
Glacier.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
Hook.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
HttpAlso.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs incremental checksum on download from ssh or p2p 2021-02-09 17:03:27 -04:00
Rsync.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
S3.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
Tahoe.hs Tahoe: Avoid verifying hash after download, since tahoe does sufficient verification itself 2021-02-09 13:42:16 -04:00
Web.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
WebDAV.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00