git-annex/Git
Joey Hess dfc4e641b5
repair: Improve fetching from a remote with an url in host:path format.
User reported git@my.gitlab.foo:username/myrepo.git didn't work with
git-repair, because it rewrites it to an url
ssh://git@my.gitlab.foo/~/username/myrepo.git
and the /~/ was not something the hosting site supported.

Since git-annex still generally needs the repo url to be well, an url, did
not change the conversion code. But in this case, we're running git fetch,
so we might as well pass it the remote name rather than the url.

Did a quick audit of repoLocation uses to see if there was anything else
like this problem elsewhere, and didn't see any. But this is not the first
time this special case in git and git-annex's attempt to de-special-case
it has caused a problem..
2020-05-04 15:32:06 -04:00
..
Command update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
AutoCorrect.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Branch.hs ByteString Ref continued 2020-04-07 13:27:11 -04:00
BuildVersion.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CatFile.hs optimise catfile interface with ByteString and Attoparsec 2020-04-10 14:18:52 -04:00
CheckAttr.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
CheckIgnore.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
Command.hs started converting Ref from String to ByteString 2020-04-06 17:14:49 -04:00
Config.hs When parsing git configs, support all the documented ways to write true and false, including "yes", "on", "1", etc. 2020-04-13 14:05:30 -04:00
ConfigTypes.hs support boolean git configs that are represented by the name of the setting with no value 2020-04-13 13:35:22 -04:00
Construct.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Credential.hs started converting Ref from String to ByteString 2020-04-06 17:14:49 -04:00
CurrentRepo.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
DiffTree.hs remove unused import 2020-04-08 14:04:58 -04:00
DiffTreeItem.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Env.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
FileMode.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Filename.hs fix quickcheck failure 2019-12-30 13:54:46 -04:00
FilePath.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Fsck.hs started converting Ref from String to ByteString 2020-04-06 17:14:49 -04:00
GCrypt.hs support boolean git configs that are represented by the name of the setting with no value 2020-04-13 13:35:22 -04:00
HashObject.hs started converting Ref from String to ByteString 2020-04-06 17:14:49 -04:00
History.hs ByteString Ref continued 2020-04-07 13:27:11 -04:00
Hook.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Index.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
LockFile.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LsFiles.hs ByteString Ref continued 2020-04-07 13:27:11 -04:00
LsTree.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Merge.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
Objects.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Queue.hs remove one more warningIO 2019-11-12 10:45:52 -04:00
Ref.hs Ref ByteString conversion done 2020-04-07 17:41:09 -04:00
RefLog.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Remote.hs fix runtime crash on incomplete pattern match in lambda 2020-04-13 16:03:21 -04:00
Repair.hs repair: Improve fetching from a remote with an url in host:path format. 2020-05-04 15:32:06 -04:00
Sha.hs started converting Ref from String to ByteString 2020-04-06 17:14:49 -04:00
Ssh.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Status.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Tree.hs ByteString Ref continued 2020-04-07 13:27:11 -04:00
Types.hs support boolean git configs that are represented by the name of the setting with no value 2020-04-13 13:35:22 -04:00
UnionMerge.hs fix all remaining -Wincomplete-uni-patterns warnings 2020-04-15 13:55:08 -04:00
UpdateIndex.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Url.hs lfs endpoint discovery and caching in git-lfs special remote 2019-08-02 12:38:14 -04:00
Version.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00