Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Austin Ziegler c4af574b19
Change default protocol to HTTPS (#2939)
Explicitly setting `hub.protocol` to `git` or using `HUB_PROTOCOL=git`
still uses the `git` protocol.

Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-25 17:46:40 +01:00
Mislav Marohnić a64f9d5939 Switch to "the output should not contain anything" built-in step 2019-08-21 18:23:50 +02:00
Mislav Marohnić de6a2bd58d Fetch repository information without octokit 2018-01-29 20:59:22 +01:00
Mislav Marohnić 3cce40c626 Have `fetch` use writable push URL for writeable fork
This is to avoid having a writeable fork added with `git://` protocol
(the default when `hub.protocol` is not configured).

This matches the behavior of `hub clone`.
2018-01-19 15:49:46 +01:00
Mislav Marohnić 660602b741 Unbreak normal `git fetch` command with URL and refspec
Fixes #1243
2016-09-08 18:22:25 +02:00
Mislav Marohnić eda119ec95 Fix comma-separated `fetch` with more than 2 names 2016-08-16 14:31:13 +02:00
Mislav Marohnić 01dad7641f Fix vanilla `fetch` with non-GitHub remotes`
Fixes #1227
2016-08-16 14:30:42 +02:00
Mislav Marohnić 1d519fe496 Enable fetching from local git bundle 2016-01-22 21:13:45 +11:00
Mislav Marohnić 07559d1c24 fix `fetch` for forks where username contains a dash
Fixes #299, closes #300
2013-03-12 10:26:50 -04:00
Mislav Marohnić 7ab0d27ffa abandon the nasty JSON hack for Sinatra responses
I tried to hack Sinatra to automatically serialize non-string response
bodies as JSON, but this is not straightforward due to sinatra/sinatra#512
and doesn't really work in a whole lot of edge-cases.

Introduced a simple `json` helper and now using that instead of `body`.
2012-10-10 13:50:23 +02:00
Mislav Marohnić efff54b16c smart JSON handling in local Sinatra app 2012-05-08 12:30:00 +02:00
Mislav Marohnić f8419629c5 make `fetch` command aware of private repos
Fixes #169
2012-05-07 15:25:42 +02:00
Mislav Marohnić ad856f7972 rewrite `hub fetch` test as cukes 2012-05-06 19:34:08 +02:00