Commit graph

38 commits

Author SHA1 Message Date
sciencesakura c042fa4d99 feat(get): add ghq.defaultHost config to resolve the default host. 2026-03-19 00:16:13 +09:00
Masayuki Matsuki cef2d00e83
Revert "feat: enable relative path ssh URL" 2024-04-10 15:46:23 +09:00
JyJyJcr d074fa350e chore: fix typo 2024-04-04 13:11:12 +09:00
JyJyJcr 37e9e6a2a0 feat: enable relative path ssh URL 2024-04-03 00:45:23 +09:00
Zhizhen He 050c32d894
de-capitalize errors to make staticcheck happy 2023-02-23 16:01:00 +08:00
Xeres e6c6bb30f4 Support codecommit HTTP (GRC) 2021-05-22 21:26:27 +09:00
Songmu 6171577758 update module name to github.com/x-motemen/ghq and fix import paths 2020-01-24 21:21:56 +09:00
Songmu 2237341b82 fix interface of newURL 2019-12-24 02:06:43 +09:00
Songmu 769b55d91e fix interface of newURL 2019-12-24 01:49:25 +09:00
Songmu a5d11ae668 fix interface of fillUsernameToPath 2019-12-24 01:45:07 +09:00
Songmu a5105a96a7 define func detectUserName and utilize it 2019-08-16 18:52:48 +09:00
Songmu 2f79e3b379 introduce Songmu/gitconfig 2019-05-16 02:08:41 +09:00
Songmu 9799682085 don't specify --path in gitutil.Config and specify --bool when getting ghq.completeUser 2019-05-13 00:50:01 +09:00
Songmu b3bd213346 adjust impl and fix test 2019-05-12 20:30:10 +09:00
saki f47d314ceb remove extra / from ref when path has "/" prefix 2019-05-10 15:41:29 +09:00
Songmu 754c0719d7 utilize gitutil package in main 2019-05-07 02:25:20 +09:00
Songmu c9eeabd030 s/ NewURL/ newURL/g 2019-05-01 14:05:29 +09:00
Songmu 11867e6177 s/ ConvertGitURLHTTPToSSH/ convertGitURLHTTPToSSH/g 2019-05-01 14:04:31 +09:00
Songmu cefe4044ce s/scpLikeUrlPattern/scpLikeURLPattern/g 2019-05-01 14:01:10 +09:00
Songmu f2b49791c2 fix NewURL 2019-04-28 16:07:05 +09:00
Songmu c8e0ac7a71 fmt 2019-04-27 01:57:21 +09:00
Masayuki Matsuki 1ba473d5ae
Merge pull request #101 from jjv/fix-username-from-url-to-git
Use parsed username also with ssh for Git
2019-04-26 18:01:56 +09:00
Masayuki Matsuki d0b628618f
Merge pull request #118 from k0kubun/disable-user-completion
Add ghq.completeUser config to disable user completion of `ghq get`
2019-04-26 17:59:32 +09:00
Songmu 2219e6e5b8 fix authorityReg 2019-04-26 13:47:53 +09:00
Songmu 39c266d1a5 support refs which start with URL Authority in ghq get 2019-04-22 14:25:52 +09:00
Takashi Kokubun e3ef713299 Add ghq.completeUser config to disable user completion 2019-03-27 23:06:40 +09:00
Janne Vaittinen e389c21186
Fix nil pointer dereference on older Go versions 2018-04-16 15:47:48 +03:00
Janne Vaittinen 7ca019c157
Use parsed username also with ssh for Git 2018-04-13 13:23:06 +03:00
motemen 81b39e7a3a fix URL for go1.10 2018-02-07 19:02:34 +09:00
b4b4r07 60025f3251 When there is no slash in the argument, complement URL as $USER/repo 2017-08-17 20:22:10 +09:00
Okano Osamu d0f0a2968e fix path pattern. 2014-06-25 14:38:18 +09:00
motemen 9eb1148220 Allow non-GitHub host when -p specified 2014-06-13 20:15:45 +09:00
Tomohiro Nishimura 795404c0eb $ gofmt -w commands.go url.go url_test.go 2014-06-08 01:27:40 +09:00
Tomohiro Nishimura 20241e1616 Support same name repository 2014-06-08 00:12:56 +09:00
Tomohiro Nishimura 0b872fcbb2 Move building url logic to NewURL 2014-06-08 00:02:39 +09:00
moznion eff9ca7b9e Support the option to import with starred by SSH of GitHub 2014-06-06 00:00:00 +09:00
Kentaro Kuribayashi ed5f948c57 Handle SCP-like URL only if it has no scheme 2014-06-02 17:09:13 +09:00
Kentaro Kuribayashi 45c97bb93f Add NewURL to handle git ssh URL. 2014-06-02 12:52:20 +09:00