Commit graph

37 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 37e9e6a2a0 feat: enable relative path ssh URL 2024-04-03 00:45:23 +09:00
itchyny a1b17bd215 Use t.Cleanup for gitconfig.WithConfig 2022-05-08 10:37:32 +09:00
itchyny 24ba4ce422 Use t.Cleanup to set environment variables in tests 2022-05-08 10:26:15 +09:00
itchyny d46d183a76 Use t.Cleanup in test setup functions 2022-05-08 10:17:14 +09:00
Songmu 510dbe91b9 adjust tests 2020-01-05 03:17:18 +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 82318aeedf drop xerrors deps and update deps 2019-12-19 01:56:38 +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 b3bd213346 adjust impl and fix test 2019-05-12 20:30:10 +09:00
Songmu 754c0719d7 utilize gitutil package in main 2019-05-07 02:25:20 +09:00
Songmu b723cb040a add TestFillUsernameToPath_err 2019-05-06 22:49:45 +09:00
Songmu f1fa3955d7 s/WithGitconfigFile/withGitConfig/ and fine adjustment 2019-05-06 22:42:03 +09:00
Songmu 85a1380bed add TestNewURL_err 2019-05-06 22:33:09 +09:00
Songmu 9cbd420b5c add test for ghq.completeUser 2019-05-05 21:56:39 +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 a12329bfe7 rewrite TestNewURL in table driven testing 2019-05-01 02:27:53 +09:00
Songmu 440ecc7ef6 rewrite TestConvertGitURLHTTPToSSH in table testing 2019-05-01 02:07:07 +09:00
Songmu f2b49791c2 fix NewURL 2019-04-28 16:07:05 +09:00
Songmu 39c266d1a5 support refs which start with URL Authority in ghq get 2019-04-22 14:25:52 +09:00
motemen 7663e36798 fix test 2017-08-22 14:39:26 +09:00
mattn b9db6b2405 gofmt 2014-10-08 01:29:31 +09:00
Okano Osamu eea0e45e5d add a test. 2014-06-25 23:09:26 +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 4956392c47 Fix test to run url_tesg.go 2014-06-02 15:41:29 +09:00
Kentaro Kuribayashi 95cfaeb5aa Fix test to use url.String() 2014-06-02 14:51:03 +09:00
Kentaro Kuribayashi 45c97bb93f Add NewURL to handle git ssh URL. 2014-06-02 12:52:20 +09:00