Mislav Marohnić
2c83c152fa
[create] Fix newline in error message
...
Fixes #2162
2019-06-06 23:31:03 +02:00
Mislav Marohnić
ef956ba685
Merge pull request #2156 from danielcompton/clarify-pull-request-multi-commits
...
Move commitLogs declaration inside multiple commits block
2019-06-05 12:02:32 +02:00
Mislav Marohnić
eb1814523d
Merge pull request #2158 from sgharms/add-vscode-to-gitignore
...
Ignore VSCode
2019-06-05 11:00:50 +02:00
Steven G. Harms
e71cec9850
Ignore VSCode
2019-06-04 14:05:24 -04:00
Daniel Compton
629437c8c9
Move commitLogs declaration inside multiple commits block
...
This makes it clearer that commits are only added as a commented section
in the case when there are multiple commits on a branch.
2019-06-05 04:54:21 +12:00
Mislav Marohnić
58c4843d9a
Merge pull request #2153 from carlosedp/riscv64
...
Update x/sys module to support Risc-V
2019-06-03 12:59:37 +02:00
CarlosEDP
fb885b37ff
Update x/sys module to support Risc-V
2019-05-31 21:14:48 +00:00
Mislav Marohnić
d76e3e8ebf
pull-request: support detached HEAD if `--head` was passed
...
Fixes #2146
2019-05-29 22:34:41 +02:00
Assaf Shemesh
9495211932
[pr] add ability to open Pull Request in the browser
2019-05-25 21:55:42 +02:00
Mislav Marohnić
a6dc10010d
Merge pull request #2138 from tariq1890/gomod
...
migrate to go modules from dep
2019-05-21 14:10:07 +02:00
Tariq Ibrahim
d55e71a3d3
migrate to go modules from dep
2019-05-14 22:31:19 -07:00
Mislav Marohnić
0be001f76d
Merge pull request #2135 from github/git-trace
...
Enable GIT_TRACE
2019-05-09 16:58:48 +02:00
Mislav Marohnić
b38a3185dd
Drop support for legacy `hub.http-clone` git config value
...
This was kept for backwards compatibility, but was silently broken for
some tiem now. Nobody reported it, so I think it can be safely assumes
that nobody uses this config value anymore.
2019-05-08 20:51:49 +02:00
Mislav Marohnić
039afea3c6
Only process stdout when shelling out to git
...
For stderr, either attach it to parent stderr or silence it completely.
This enables GIT_TRACE.
2019-05-08 20:51:49 +02:00
Mislav Marohnić
16ccde1a74
Merge pull request #2120 from richardballard/Readme-Chocolatey
...
Added Chocolatey as Windows install method in the readme
2019-04-25 13:02:16 +02:00
Richard Ballard
d0eb0573b9
Added Chocolatey as Windows install method in the readme
2019-04-23 16:02:09 +01:00
Mislav Marohnić
dcdf56167c
hub 2.11.2
2019-04-14 15:26:40 +02:00
Mislav Marohnić
54238f1401
Merge pull request #2111 from github/git-global-beforeafter
...
Propagate global git arguments to Before/After chains
2019-04-14 15:25:50 +02:00
Mislav Marohnić
d8973922ac
Propagate global git arguments to Before/After chains
...
This fixes `hub -C mydir merge <URL>` and other commands that might be
invoked with git global arguments by ensuring that those global
arguments are also fowarded to any accompanying `git` commands within
`Before()` and `After()` chains.
2019-04-14 15:08:21 +02:00
Mislav Marohnić
61f6bfdd21
Compatibility with Go < 1.12
2019-04-13 23:17:20 +02:00
Mislav Marohnić
d2114da665
Preserve tilde in man pages
...
Fixes #2107
2019-04-12 18:50:21 +02:00
Mislav Marohnić
accfda9aa4
[remote] Avoid crash in argument parsing
...
Fixes #2102
2019-04-08 12:11:54 +02:00
Mislav Marohnić
94a6cf4558
hub 2.11.1
2019-03-29 12:33:51 +01:00
Mislav Marohnić
d2d203bcad
[pull-request] Fix non-draft pull requests
...
This works around a GitHub API issue where it blocks PRs based on their
draft status even if they were `draft: false`.
Fixes #2099
2019-03-29 12:33:09 +01:00
Mislav Marohnić
e8ab68d869
hub 2.11.0
2019-03-29 02:18:06 +01:00
Mislav Marohnić
d0e9e009ff
Merge pull request #2098 from github/draft-prs
...
Open draft pull requests with `-d` / `--draft`
2019-03-29 02:12:22 +01:00
Mislav Marohnić
b99071f118
[pull-request] Tweak & test opening a PR as a draft
2019-03-29 02:02:40 +01:00
Matthieu Antoine
b207e80358
Implement opening draft pull requests
...
Implement draft by adding a -d / --draft argument. Add setting header on
the API client for the moment as the feature is still in preview on the API
2019-03-29 01:18:03 +01:00
Mislav Marohnić
13f29148c8
hub 2.10.2
2019-03-29 01:12:55 +01:00
Mislav Marohnić
e4fe4bae37
Merge pull request #2096 from github/no-command
...
Fix compatibility with git when run with no arguments
2019-03-29 01:12:18 +01:00
Mislav Marohnić
5530793341
Merge pull request #2097 from github/labels-no-color
...
Fix issue/PR labels output in no-color mode
2019-03-29 01:11:59 +01:00
Mislav Marohnić
d78097d2b1
[issue] Fix `--format %L` output in no-color mode
2019-03-29 00:28:44 +01:00
Mislav Marohnić
4412eddff1
Fix compatibility with git when run with no arguments
...
Fixes this error:
$ hub --git-dir=.git
git: '' is not a git command. See 'git --help'.
Instead, help text is shown just like with normal git.
2019-03-28 23:55:24 +01:00
Mislav Marohnić
a742c67aa7
hub 2.10.1
2019-03-27 22:37:12 +01:00
Mislav Marohnić
d7ac3185bd
[api] Fix writing over existing cache files
2019-03-27 22:23:33 +01:00
Mislav Marohnić
20595d16ec
[pull-request] Add test for triangular workflow with `--push`
...
Right now this doesn't push to fork, but ideally it should if the person
doesn't have the permissions to push to upstream.
2019-03-22 14:25:08 +01:00
Mislav Marohnić
aeda73f0a8
Merge pull request #2088 from github/name-with-owner-re
...
Allow repository names that start with a dash character
2019-03-18 13:31:54 +01:00
Mislav Marohnić
dadc26d2e4
Allow repository names that start with a dash character
...
These are allowed on GitHub.
2019-03-18 12:49:42 +01:00
Mislav Marohnić
e820f9da15
[docs] Don't assume that Homebrew is always on macOS
...
Linuxbrew is available on linux and WSL
[ci skip]
2019-03-12 15:09:27 +01:00
Mislav Marohnić
20c00d8f42
[docs] Clarify shell completion setup with Homebrew
...
Fixes #2054 [ci skip]
2019-03-12 14:57:39 +01:00
Mislav Marohnić
973368c945
[help] Fix test
2019-03-11 20:39:31 +01:00
Mislav Marohnić
08f2844e47
[help] List `api` among custom hub commands
...
Fixes #2066
2019-03-11 20:37:23 +01:00
Mislav Marohnić
fdea0614f9
hub 2.10.0
2019-02-24 10:46:57 +01:00
Mislav Marohnić
678eff366b
Merge pull request #2057 from github/checkout-track-fix
...
Make `checkout` work independently of remote refspec
2019-02-24 10:46:34 +01:00
Mislav Marohnić
7a4c893a14
[test] Fix `git fetch` stub
2019-02-24 10:34:59 +01:00
Mislav Marohnić
5d42f7dbad
[checkout] Make it work independently of remote refspec
...
This fixes:
fatal: Cannot setup tracking information; starting point 'BRANCH' is not a branch.
if the remote refspec is set up to only fetch specific branches and NOT
like the default `+refs/heads/*:refs/remotes/origin/*`.
I don't understand why would git, after fetching into
`refs/remotes/origin/BRANCH`, complain that `origin/BRANCH` is not a
branch, but there we have it. Setting up upstream tracking manually
works around this problem.
2019-02-24 09:58:51 +01:00
Mislav Marohnić
cbbb778f0b
Merge pull request #2052 from ceedubs/pull-request-no-edit-zsh-comp
...
Add pull-request --no-edit flag to zsh completion
2019-02-22 12:58:32 +01:00
Mislav Marohnić
76b7ef5f01
Merge pull request #2050 from kimhanse/patch-1
...
Documentation of install on Debian (sid/buster)
2019-02-22 12:57:27 +01:00
Cody Allen
819aa968f7
Add pull-request --no-edit flag to zsh completion
2019-02-21 08:26:39 -08:00
Kim Hansen
a2380c403a
FIXUP
...
Squash on merge
2019-02-21 11:22:56 +01:00