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

2750 Коммитов

Автор SHA1 Сообщение Дата
Andrew Janke 116f08f1f9 ui Printf functions: handle errors by dying 2018-12-22 12:30:38 -05:00
Mislav Marohnić cc38879bd6
Merge pull request #1976 from github/format-docs
Don't choke on literal `%` output from `--format` use
2018-12-21 09:58:19 +01:00
Mislav Marohnić f8feb335bc Don't choke on literal `%` output from `--format` use
In general, avoid using Printf without a static format string.
2018-12-20 18:01:20 +01:00
Mislav Marohnić 3e6fcc1f8a Add documentation about `%n` and `%%` tokens for `--format` 2018-12-20 17:54:49 +01:00
Mislav Marohnić de3f86fc7a
Merge pull request #1974 from apjanke/GitHub-capitalization
Capitalize GitHub in doco
2018-12-20 15:33:31 +01:00
Andrew Janke c25e478d43 Capitalize GitHub in doco 2018-12-19 21:50:44 -05:00
Mislav Marohnić ca320f401e
Merge pull request #1971 from github/cli-long-form
Clarify long-form CLI options
2018-12-19 00:31:43 +01:00
Mislav Marohnić b54179a698 Fix references to git-log(1) 2018-12-18 18:07:48 +01:00
Mislav Marohnić 97f7ea4477 Tweak docs for `hub pr list --head=BRANCH` 2018-12-18 17:53:50 +01:00
Mislav Marohnić 85d58f9c68 Clarify some other long-form CLI options 2018-12-18 17:50:38 +01:00
Mislav Marohnić 258b700914 Indicate that long-form CLI flags are used like `--message=VALUE`
The previous format of documentation made it look like `--message VALUE`
(no equal sign) would be supported, which might be misleading.
2018-12-18 17:49:09 +01:00
Mislav Marohnić 68210c8471
Merge pull request #1939 from dsifford/dsifford-vim-syntax
add pullrequest vim syntax.
2018-12-18 17:17:38 +01:00
Mislav Marohnić 339efcd63d
Merge pull request #1970 from github/pr-merged-info
Add more information about merged PRs in `hub pr list`
2018-12-18 17:03:20 +01:00
Mislav Marohnić da08d7eecc Add base/head/merge commit SHA information to `hub pr list` 2018-12-17 17:25:05 +01:00
Mislav Marohnić 4b53546070 Support `hub pr list --state=merged`
This queries by `state=closed` and selects only PRs that have a merged date.
2018-12-17 17:08:26 +01:00
Mislav Marohnić 42677a681f Add merged date information to `hub pr list` 2018-12-17 16:41:35 +01:00
Mislav Marohnić d89b5c6fe4 hub 2.6.1 2018-12-11 10:52:08 +00:00
Mislav Marohnić 3e712fcde3
Merge pull request #1964 from jacobbednarz/fix-git-help-output
Restore pre-2.20.0 `git help` output
2018-12-11 10:50:33 +00:00
Mislav Marohnić 7642e5b973 Support git versions that don't recognize --no-verbose 2018-12-11 10:30:24 +00:00
Jacob Bednarz 9bb5ffa9e7
Restore pre-2.20.0 `git help` output
After upgrading to Git 2.20.0, all operations that relied on `hub alias`
would indefinitely hang. It can be reproduced using the following:

1. Create a new alias such as `st` for `git status`.
2. Run `hub <alias>` in a git repository.

  ```
  $ hub st

  ... hangs forever
  ```

Inspecting the running process shows that it is executing `git help -a`
and not able to proceed. Digging into the `hub` shows that the `help`
command is called within `IsBuiltInGitCommand`. Once this entrypoint was
found, I started bisecting and found this works in 2.19.x but fails in
2.20.x. Sure enough, the Git 2.20.0 release notes mention a
corresponding change[1].

>  * "git help -a" now gives verbose output (same as "git help -av").
>    Those who want the old output may say "git help --no-verbose -a".

It was even nice enough to include the backwards compatibility fix :)

To fix the hanging, I've restored the existing behaviour by including
the `--no-verbose` flag that mimics the 2.19.x behaviour.

Fixes #1963

[1]: https://github.com/git/git/blob/master/Documentation/RelNotes/2.20.0.txt#L17-L18
2018-12-11 09:33:46 +11:00
Mislav Marohnić f4252d55ec Merge branch 'localhost' 2018-11-28 03:24:40 +01:00
Mislav Marohnić 502e8071d8
Merge pull request #1951 from github/multiline-message
Add support for multiple `--message` options
2018-11-28 03:23:31 +01:00
Mislav Marohnić be76a9f80f Fix test broken by OAuth URL update 2018-11-28 03:20:10 +01:00
Mislav Marohnić f98928699d Add support for passing multiple `--message` options
This is for compatibility with git-commit(1)
2018-11-28 03:05:15 +01:00
Mislav Marohnić e0dba3e147 Add test for multiline title handling 2018-11-28 02:38:12 +01:00
Mislav Marohnić 7467e49c90 Clarify documentation about what constitutes a title in `--message`
It's not only the first line of text; it's the entire first "block" (or
paragraph) of text with newlines turned into spaces. This is for
compatibility with git-commit(1).
2018-11-28 02:38:12 +01:00
Mislav Marohnić cad4ec4556 Add additional test for `ssh.github.com` support 2018-11-21 17:02:52 +01:00
Mislav Marohnić 97829f28aa Update the OAuth app url 2018-11-21 16:51:40 +01:00
Mislav Marohnić 67ba00ae66 Enable hub to work with `github.localhost` 2018-11-21 16:50:27 +01:00
Derek P Sifford 93dad3227d add pullrequest vim syntax. #1916 2018-11-12 17:49:11 -05:00
Mislav Marohnić abda01dfab Merge branch 'make' 2018-11-12 16:45:12 +01:00
Mislav Marohnić 6576191282 Make the utility file during `make man-pages` hidden 2018-11-12 16:44:42 +01:00
Mislav Marohnić 3b4b15f35d Fix test that failed without a local git checkout
Fixes #1937
2018-11-12 14:39:19 +01:00
Mislav Marohnić 6d7f6c1a45 Allow specifying a literal `%h` in `HostName` ssh config 2018-11-09 15:17:53 +01:00
Mislav Marohnić 5886837431 Expand tokens found in ssh config `HostName`
Per "TOKENS" section in ssh_config(5)

Fixes #1936
2018-11-09 12:52:04 +01:00
Mislav Marohnić b3b3ebb8e5 Fix link to README
[ci skip]
2018-11-02 20:25:31 +01:00
Mislav Marohnić 8b9f9d2ca7 Update contributing docs regardig working with a local checkout
[ci skip]
2018-11-02 20:22:55 +01:00
John Ford ad861c2cb9 Provide correct instructions to build github/hub
See #1404, closes #1929 [ci skip]
2018-11-02 20:17:57 +01:00
Mislav Marohnić 2c564f6fad hub 2.6.0 2018-10-31 02:51:06 +01:00
Mislav Marohnić 7384791f4e
Merge pull request #1889 from tadityar/bugfix/remote-ssh-protocol-not-own-repo
Add repo visibility and permission check for remote add command
2018-10-31 02:45:56 +01:00
Mislav Marohnić e036a57e80 Fix broken `hub remote add` tests, docs 2018-10-31 02:32:59 +01:00
Mislav Marohnić de380c0e49 Fix tests broken by `hub remote add` changes
`remote add` may now query the GitHub API to determine whether the
remote URL should be generated in writeable mode or not.
2018-10-31 02:21:57 +01:00
Mislav Marohnić a6318c02b4 Merge remote-tracking branch 'origin/master' into bugfix/remote-ssh-protocol-not-own-repo 2018-10-31 01:56:22 +01:00
Mislav Marohnić 57fda9448b
Merge pull request #1845 from apakulov-stripe/unix-socket-support
Add unix socket support
2018-10-30 23:46:38 +01:00
Mislav Marohnić 7d2b328cc9
Merge pull request #1916 from jonnystoten/scissors-for-pr-message
Use 'scissors' to separate comments from PR messages
2018-10-30 23:44:48 +01:00
Jonny Stoten 0dc077ac32 Use scissors to separate comments from PR messages
This allows PR templates to include markdown headers with '#'
2018-10-30 23:38:17 +01:00
Mislav Marohnić 5346928ac4
Merge pull request #1923 from royels/feature
Add the command `hub issue show <NUMBER>`
2018-10-30 23:28:42 +01:00
Mislav Marohnić d5761b714b Add `--format=<FORMAT>` functionality to `issue show`, `release show` 2018-10-30 23:19:53 +01:00
Mislav Marohnić 5285804c41 Code style 2018-10-30 23:19:53 +01:00
royels 6b5997f974 Add the command `hub issue view <NUMBER>`
This commit adds the subcommand hub issue view, which displays an issue as well as
lists its comments underneath.
2018-10-30 23:19:53 +01:00