- 20 8月, 2019 1 次提交
-
-
由 whuang8 提交于
-
- 14 8月, 2019 1 次提交
-
-
由 whuang8 提交于
-
- 19 7月, 2019 4 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Allow hub used in Actions by specifying GITHUB_USER
-
由 Mislav Marohnić 提交于
When supplied with GITHUB_TOKEN, hub will attempt to request the `user` API resource which isn't available in the context of Actions. To work around this, scripts may now set GITHUB_USER to avoid hitting the unavailable API resource.
-
由 Mislav Marohnić 提交于
Hub is impossible to use from within GitHub Actions because specifying GITHUB_TOKEN will trigger the code path where the `user` resource is requested from the GitHub API to get the current login name, but this resource is not available for that token. This failure message was cryptic and misleading before as it was sometimes presented as HTTP 401. This change ensures that the correct HTTP 403 "Resource not accessible by integration" message is shown.
-
- 10 7月, 2019 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Improve push target detection for `push.default=upstream`
-
- 08 7月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
When `git config push.default` is "upstream" or "tracking", but the current branch is pushed to a remote without having upstream configuration set up (for example, via `git push <REMOTE> HEAD` without `-u`), this change makes it so that the remote tracking branch (the push target) is still discovered via the same mechanism as if `push.default` wasn't set (i.e. iterating through all the remotes).
-
- 02 7月, 2019 1 次提交
-
- 29 6月, 2019 4 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
`cmd.New(programWithSpaces)` will now work for executables that have spaces in the path. The only place where we relied on shell-splitting was in openTextEditor, which now performs its own splitting.
-
由 Mislav Marohnić 提交于
Avoids shell-splitting manProgram unless the value was read from the $PAGER environment variable.
-
由 Mislav Marohnić 提交于
Makes possible: BROWSER='"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --extra --flag' hub browse Fixes #2178
-
- 26 6月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
Docs: mention that comma-separated lists must not have spaces
-
- 25 6月, 2019 2 次提交
-
-
由 Mislav Marohnić 提交于
Fixes #2176
-
由 Mislav Marohnić 提交于
-
- 17 6月, 2019 2 次提交
-
-
由 Mislav Marohnić 提交于
build: pass mod vendoring flag on newer versions of go
-
由 Eli Schwartz 提交于
The go compiler doesn't like it when you mix the two, and Travis CI does exactly that. Take advantage of the opportunity to disable it everywhere else as well.
-
- 16 6月, 2019 1 次提交
-
-
由 Eli Schwartz 提交于
When go autodetects that it is being run as a go mod, and that there is a vendor directory, it will still try to redownload all sources over the network, unless you use -mod=vendor to tell it to use that. Additionally, when using -mod=vendor the compiler will nicely avoid messing with $GOPATH at all, since it can operate in a completely self-contained manner. Take advantage of this, when the detected go version is at least 1.11 (when the -mod flag was introduced).
-
- 15 6月, 2019 12 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Implement `hub api --paginate`
-
由 Mislav Marohnić 提交于
The GraphQL query has to accept the optional `endCursor` string variable and output `pageInfo`: pageInfo { hasNextPage endCursor }
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Repeated calls to `client.simpleApi()` will memoize its result and avoid making multiple instances of `http.Client` and the associated Transport.
-
由 Mislav Marohnić 提交于
check head branch exists before creating PR
-
由 Mislav Marohnić 提交于
This is the heuristics we apply to determine if a branch was pushed: 1. The branch has remote tracking information (`branch.<branch>.remote` and `branch.<branch>.merge` config) that does NOT point to the base branch for this pull request; or 2. There exists a `refs/remotes/*/<branch>` ref in any git remote. Otherwise, we consider the branch NOT pushed and we abort before processing the pull-request command further.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
[pr] add ability to open Pull Request in the browser Closes #1586
-
由 Mislav Marohnić 提交于
Add a milestone name instead of an id, when creating
-
由 Mislav Marohnić 提交于
Add `hub pull-request --no-maintainer-edits` flag
-
由 Mislav Marohnić 提交于
If `hub pr checkout <NUMBER>` was used, the tracking configuration for the created branch might look like this for forks: branch.<branch>.remote https://github.com/<owner>/<repo>.git branch.<branch>.merge refs/heads/<branch> Since `RemoteBranchAndProject()` doesn't handle this case, we can't use it. I want to avoid expanding its functionality right now since it's being used in several places and I don't want to risk causing regressions in other commands. Instead, `pr show` now performs its own upstream branch lookup.
-
- 14 6月, 2019 7 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 13 6月, 2019 1 次提交
-
-
由 danielVg 提交于
-