- 29 6月, 2019 3 次提交
-
-
由 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 提交于
-
- 09 6月, 2019 1 次提交
-
-
由 Florian Thomas 提交于
Previously hub checked that there were [no unpushed commits](https://github.com/github/hub/blob/b3b3ebb8e517acd269489b9bd163de2f8fd309fc/commands/pull_request.go#L219-L223) but this check doesn't work when there is not even a remote branch. This fixes #1930.
-
- 07 6月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
Fixes #2162
-
- 05 6月, 2019 4 次提交
-
-
由 Mislav Marohnić 提交于
Move commitLogs declaration inside multiple commits block
-
由 Mislav Marohnić 提交于
Ignore VSCode
-
由 Steven G. Harms 提交于
-
由 Daniel Compton 提交于
This makes it clearer that commits are only added as a commented section in the case when there are multiple commits on a branch.
-
- 03 6月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
Update x/sys module to support Risc-V
-
- 01 6月, 2019 1 次提交
-
-
由 CarlosEDP 提交于
-
- 30 5月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
Fixes #2146
-
- 26 5月, 2019 1 次提交
-
-
由 Assaf Shemesh 提交于
-
- 21 5月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
migrate to go modules from dep
-