- 31 5月, 2018 1 次提交
-
-
由 Harald Nordgren 提交于
-
- 29 5月, 2018 4 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Also, split the pull request template with two newlines in between for compatibility with GitHub web interface. Fixes #1714
-
由 Mislav Marohnić 提交于
-
由 Ahmet Alp Balkan 提交于
Fixes #1724. This patch omits the "Signed-off-by:" line coming from pull requests created out of single commit messages. This way the user does not need to manually remove their email address from the PR description. Not introducing a flag for this as it applies to only one case (single-commit diff between heads, as well as no -m/-f/-i specified). Meta: sending this PR with the patched build, my Signed-off-by line is removed automatically from the PR message. Signed-off-by: NAhmet Alp Balkan <ahmetb@google.com>
-
- 16 3月, 2018 1 次提交
-
-
由 venyii 提交于
-
- 24 1月, 2018 1 次提交
-
-
由 Mislav Marohnić 提交于
This shows commented-out text such as "Creating an issue for github/hub" not only when `-m` or `-F` weren't passed, but also when they were passed and `--edit` was used.
-
- 23 1月, 2018 2 次提交
-
-
由 Mislav Marohnić 提交于
The commit body comes first, then template text. This is for compatibility with GitHub web interface. Fixes #1657
-
由 Mislav Marohnić 提交于
Previously, passing `--edit` in combination with `-m` would skip opening the editor. For compatibility with `git commit`, `--edit` is now always respected.
-
- 22 1月, 2018 1 次提交
-
-
由 Jimmi Dyson 提交于
-
- 19 1月, 2018 1 次提交
-
-
由 Mislav Marohnić 提交于
-
- 31 7月, 2017 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Before, the code outside of `editor.go` was responsible for prefixing lines of the commented section with the comment char. The code to do this was scattered all over the codebase and was difficult to refactor re: adding support for `commentchar=auto`. Now, Editor has a `AddCommentedSection()` method that allows for declarative adding of a commented section. Furthermore, the caller doesn't have to query git to determine the comment char.
-
- 27 6月, 2017 1 次提交
-
-
由 Mislav Marohnić 提交于
`git rev-parse --show-toplevel` returns an empty string with success status when inside a bare git repo. This avoids the go crash and also tweaks `hub issue` and `hub pull-request` to work even if current working directory name couldn't be obtained because it's only used for looking up issue/PR templates, which isn't critical functionality. Fixes https://github.com/github/hub/issues/1331
-
- 17 4月, 2017 1 次提交
-
-
由 Tomas Varneckas 提交于
-
- 08 12月, 2016 1 次提交
-
-
由 Natalie Weizenbaum 提交于
This ensures that a branch pushed using "hub pull-request" has its upstream branch set to the target of the push.
-
- 21 11月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
Always start template lookup from the toplevel directory of the repo. Fixes #1242
-
- 22 10月, 2016 3 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Since `--push` has just created a new branch, there could be a slight delay before GitHub registers it, and there's a possibility that a 422 would be returned for the "head" field. If that happens, retry the POST a couple of times until it either succeeds or times out.
-
由 Mislav Marohnić 提交于
-
- 21 10月, 2016 1 次提交
-
-
由 Natalie Weizenbaum 提交于
-
- 04 10月, 2016 1 次提交
-
-
由 Natalie Weizenbaum 提交于
This removes an extra step from the process of publishing a pull request. It also gives the user a chance to back out of the entire process by saving an empty pull request message.
-
- 12 9月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
Also add `--browse` functionality to `create` and `release` for parity with `issue` and `pull-request`.
-
- 11 9月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
The old `args.After("echo", ...)` approach won't cut it on Windows since there is no `echo` executable. Thus, nothing was printed on Windows. Instead, expand Args type with extra functionality that allows Go callbacks after all commands in the chain have been run. Also, the new `args.NoForward()` is now preferred to `os.Exit()` since it's more descriptive and allows `defer` in the calling function.
-
- 09 9月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
The GitHub API doesn't seem to like receiving `"assignees": null`. Fixes #1240
-
- 21 8月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 15 8月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
This allows accumulating values across repeated arguments.
-
由 Mislav Marohnić 提交于
-
- 10 8月, 2016 4 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
When the repo that hosts the `head` for the PR is moved to another owner, the `owner:branch` specification will be wrong and the GitHub API will return HTTP 422. This resolves the latest owner/name pair for head repo so that the value is never stale when submitting new PR to be created. Fixes #467
-
由 Mislav Marohnić 提交于
-
- 31 5月, 2016 4 次提交
-
-
由 ganmacs 提交于
-
由 Nick LaMuro 提交于
Implements the GeneratePRTemplate in pull_request.go instead of the custom logic that previously existed in the file. Addresses: * Title being defaulted as the first line of the template * Commit messages not defaulting as the title only properly
-
由 ganmacs 提交于
-
由 ganmacs 提交于
-
- 21 4月, 2016 1 次提交
-
-
由 Carlos Martín Nieto 提交于
The description for --head said it was the head branch instead of head branch.
-
- 24 1月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
-