9621beabc4
When accessing a git remote over http needs a git credential prompt for a password, cache it for the lifetime of the git-annex process, rather than repeatedly prompting. The git-lfs special remote already caches the credential when discovering the endpoint. And presumably commands like git pull do as well, since they may download multiple urls from a remote. The TMVar CredentialCache is read, so two concurrent calls to getBasicAuthFromCredential will both prompt for a credential. There would already be two concurrent password prompts in such a case, and existing uses of `prompt` probably avoid it. Anyway, it's no worse than before. |
||
---|---|---|
.. | ||
Command | ||
Remote | ||
AutoCorrect.hs | ||
Branch.hs | ||
BuildVersion.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
CheckIgnore.hs | ||
Command.hs | ||
Config.hs | ||
ConfigTypes.hs | ||
Construct.hs | ||
Credential.hs | ||
CurrentRepo.hs | ||
DiffTree.hs | ||
DiffTreeItem.hs | ||
Env.hs | ||
FileMode.hs | ||
Filename.hs | ||
FilePath.hs | ||
FilterProcess.hs | ||
Fsck.hs | ||
GCrypt.hs | ||
HashObject.hs | ||
History.hs | ||
Hook.hs | ||
Index.hs | ||
LockFile.hs | ||
LsFiles.hs | ||
LsTree.hs | ||
Merge.hs | ||
Objects.hs | ||
PktLine.hs | ||
Queue.hs | ||
Ref.hs | ||
RefLog.hs | ||
Remote.hs | ||
Repair.hs | ||
Sha.hs | ||
Ssh.hs | ||
Status.hs | ||
Tree.hs | ||
Types.hs | ||
UnionMerge.hs | ||
UpdateIndex.hs | ||
Url.hs | ||
Version.hs |