Commit graph

46 commits

Author SHA1 Message Date
Ray Shirohara a655d1d81f
feat: add partial option support to GitBackend 2025-03-26 00:24:42 +09:00
Sixeight 2d66830943
improve --silent flag in get command 2025-03-20 18:40:58 +09:00
itchyny f257a4210e Use t.Cleanup to remove temporally directories for tests 2022-05-08 10:09:00 +09:00
Jakob Helmecke d114440efb feat: do a bare clone 2022-01-05 19:02:04 +01:00
Songmu 510dbe91b9 adjust tests 2020-01-05 03:17:18 +09:00
Songmu d726be7040 fix race conditions by using sync.Once 2019-12-28 23:39:37 +09:00
Songmu 0885c29ec1 detect repositry root by using get-urlmatch 2019-12-23 02:35:30 +09:00
moajo a4e9027425 add --recursive option to ghq get 2019-12-20 18:48:33 +09:00
Songmu 80fa054105 adjust file structure 2019-12-18 23:50:35 +09:00
Songmu 676ed981c9 define type vcsGetOption struct 2019-12-17 23:03:53 +09:00
tockn 217064ca61 Fix typos 2019-12-04 19:59:53 +09:00
rhysd 2afd6e15d1 add and fix tests for --branch option 2019-12-01 13:28:48 +09:00
Yasuhiro Matsumoto b563a7fede
Fix tests for Windows 2019-10-30 23:15:26 +09:00
Yasuhiro Matsumoto 92ea42a631
Fixes slash/backslash problems 2019-10-25 15:59:16 +09:00
Songmu 2f79e3b379 introduce Songmu/gitconfig 2019-05-16 02:08:41 +09:00
Songmu 754c0719d7 utilize gitutil package in main 2019-05-07 02:25:20 +09:00
Songmu f1fa3955d7 s/WithGitconfigFile/withGitConfig/ and fine adjustment 2019-05-06 22:42:03 +09:00
Songmu 1c6d06f6b8 add TestLocalRepository_VCS 2019-05-06 16:16:40 +09:00
Songmu b88534d046 s/vcsDirs/vcsContents/ because they are not always directories. 2019-05-05 21:11:11 +09:00
Songmu a716c9dd55 separate list.go and list_test.go from commands*.go 2019-05-05 19:30:18 +09:00
Songmu 6d2563c476 add more tests in TestDoLook 2019-05-05 18:02:52 +09:00
Songmu 07a398912e add TestDoLook 2019-05-05 16:33:40 +09:00
Songmu 29b42623ad adjust helpers_test.go 2019-05-05 03:07:12 +09:00
Songmu 19bd69d8a7 add TestDoRoot 2019-05-04 00:09:54 +09:00
Songmu 4db95986ba rewrite commands_test.go and eliminate gomega 2019-05-01 12:50:42 +09:00
Songmu a886133d04 rewrite TestCommandList 2019-05-01 11:15:25 +09:00
Songmu 732e973add adjust testing 2019-05-01 00:46:25 +09:00
Songmu 5e01be84f3 introduce table driven test in TestCommandGet 2019-05-01 00:24:08 +09:00
Songmu 7211ee9c08 fix tests 2019-04-29 20:45:44 +09:00
Songmu 9819635bbd fix import 2019-04-28 16:15:12 +09:00
Songmu c8e0ac7a71 fmt 2019-04-27 01:57:21 +09:00
Nao Minami 7a477e0706 Update reference to codegangsta/cli to urfave/cli
codegangsta/cli is now renamed to urfave/cli, and they recommend to update
old reference.

> Notice: This is the library formerly known as github.com/codegangsta/cli
-- Github will automatically redirect requests to this repository,
but we recommend updating your references for clarity.

https://github.com/urfave/cli/blob/master/README.md

This patch will update reference to codegangsta/cli to urfave/cli.
2017-05-27 22:14:50 +09:00
motemen 3bafbfc437 Resolve "get ./foo" and "get ../foo" as relative URL from a current directroy 2015-12-14 23:23:14 +09:00
motemen 50c0ee8b41 Merge remote-tracking branch 'origin/master' into #43-mattn/github-relative 2015-12-14 21:03:31 +09:00
motemen 6af01d8c8d fix test for latest cli 2015-07-12 02:06:36 +09:00
kkka 0775921652 Fix the test that was broken with a slash of handling on Windows 2014-12-16 21:02:18 +09:00
mattn e9b75713bf Fix path separator issue on windows 2014-10-08 09:33:51 +09:00
mattn 28ef28dd33 Add test 2014-10-08 01:59:50 +09:00
mattn b9db6b2405 gofmt 2014-10-08 01:29:31 +09:00
motemen d79573a5f1 ghq get -shallow to perform git clone --depth 1 2014-06-14 10:33:13 +09:00
motemen 6c5e03128a test: withFakeGitBackend 2014-06-14 09:15:28 +09:00
motemen 4ec5dd1394 gofmt 2014-06-09 13:59:44 +09:00
motemen d7ccb88a64 test ghq get 2014-06-06 19:50:38 +09:00
motemen 455cba4976 fixed test 2014-05-16 19:05:50 +09:00
motemen 521ed0baf0 rename identifiers 2014-05-14 19:34:13 +09:00
motemen 3439c121d3 commands testing 2014-05-11 23:47:32 +09:00