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

19 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić 24ed64e477 Add relative date format to `issue` output 2016-08-16 17:29:41 +02:00
Mislav Marohnić 9f83b387ee Merge remote-tracking branch 'origin/master' into revamp-issues 2016-08-14 19:50:28 +02:00
Mislav Marohnić 0d3617fd25 Infer project name from git workdir root name instead of PWD
The `create` and `remote` commands needs to infer the current project
name from the project's directory. Instead of using the current working
directory, which doesn't necessarily match the project's toplevel
directory, use `git rev-parse --show-toplevel` which also respects the
`-C` global flag setting.

Fixes #1105, closes #1114
2016-02-28 20:51:21 +09:00
Mislav Marohnić 486df9eaab Print colored labels for `hub issue` 2016-02-03 23:33:09 +11:00
Mislav Marohnić 21089ec0e4 Change `hub help` to display man pages when available
Instead of displaying plain text help, `hub help <command>` will now
search for man pages to display.

* If `man` is available, hub first tries to locate the local
  `../man/hub-<command>.1` file relative to the `hub` executable. If
  found, open it with `man`. If not, execute `man 1 hub-<command>`.

* Otherwise, resort to displaying plain text help.
2016-01-25 02:30:47 +11:00
Jingwen Owen Ou 177640dbd4 Extract logic of printing out to console
Introduce a `console` package which encapsulates logic of printing out
to console. This provides flexibility of discarding output in tests.
It also allows us to unify format of printing to console (if we want to).

This fixes #801.
2015-02-20 13:19:24 -08:00
Jingwen Owen Ou b1ad2af009 Print error to stderr instead of using log 2014-02-21 10:22:17 -08:00
David Calavera 04d6f2bd21 Move autoupdate configuration to the global git config. 2014-01-07 21:29:32 +01:00
David Calavera 92a6010916 Do not modify fatal output. 2014-01-04 17:04:00 -08:00
David Calavera b3a1a093bf Capture panic errors and notify them as unexpected crashes. 2014-01-04 16:57:52 -08:00
Jingwen Owen Ou a613e633b0 Create is compatible with Hub 2013-12-10 13:42:54 -08:00
Jingwen Owen Ou f0c3b28ca0 Implement gh fetch 2013-07-10 16:29:26 -07:00
Jingwen Owen Ou f72c133ba7 Remove utils.Fatal 2013-07-04 16:29:19 -07:00
Jingwen Owen Ou 48404b97a9 Fix utils 2013-06-22 07:41:32 -07:00
Jingwen Owen Ou 022d899c2b Implement add remote for current user 2013-06-21 18:02:29 -07:00
Jingwen Owen Ou 6cdb7e2e11 Implement gh browse 2013-05-31 16:32:30 -07:00
Jingwen Owen Ou 9fe0a8cff4 Correctly parse gh browse args 2013-05-31 15:24:24 -07:00
Jingwen Owen Ou 3798e7818a Add browser launcher 2013-05-30 17:24:06 -07:00
Jingwen Owen Ou 64fa816809 Move code to proper subpackages 2013-05-29 12:01:12 -07:00