- 24 1月, 2016 12 次提交
-
-
由 Mislav Marohnić 提交于
In the future, individual man pages will be generated prior to release.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
This mimics `git` behavior.
-
由 Mislav Marohnić 提交于
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.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
For compatibility with git, `hub help checkout` will display the help for git-checkout and there will be no information about hub extensions to this command. Now with `hub help hub-checkout`, hub will print the help text from hub's extension to git-checkout.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
- No more `c.Short` property. Instead, the first line of `c.Long` property is considered a short command description. - The `c.Usage` text can now contain multiple lines. - The new `c.Synopsis()` method renders usage synopsis for humans: Usage: hub my-command --arg hub my-command --alternative-arg - The new `c.HelpText()` method renders synopsis + full help text.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Don't corrupt the PATH if longer than 1024 characters on Windows
-
由 James Ko 提交于
-
- 22 1月, 2016 13 次提交
-
-
由 Mislav Marohnić 提交于
Help text improvements
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Improve detecting local clone resources
-
由 Mislav Marohnić 提交于
Fixes #862
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
In `hub clone NAME`, "NAME" was previously considered a local resource if a directory of the same name existed, and the clone command was left unchanged. That worked for a while, but some users were surprised that they couldn't clone their repo named "NAME", only to discover that there was an unrelated directory "NAME" in the current working directory. Also, a git bundle is a valid cloneable resource, but is a file and not a directory. This refines the detection of cloneable resources. "NAME" is considered to be locally cloneable if one of the following is true: - "NAME/.git" exists - "NAME" is a bare git repo - "NAME" is a file whose first line includes "git bundle"
-
由 Mislav Marohnić 提交于
Add new flag to "release" for specifying commitish
-
由 Mislav Marohnić 提交于
Avoid "user: Current not implemented" error
-
由 Mislav Marohnić 提交于
Detect current username without resorting to cgo
-
由 Mislav Marohnić 提交于
Sometimes when hub is cross-compiled, `user.Current()` won't work on certain systems. Use an alternative way of obtaining the user's home directory.
-
由 Mislav Marohnić 提交于
-
- 21 1月, 2016 7 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
- git+ssh://github.com/... - ssh://github.com:22/... - git@github.com:/... Fixes #876
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Rex Schrader 提交于
In instances where the `SHELL` environment variable is not set, nor is the `-s` parameter set it is not clear what action should occur. Clarify the error message to make it obvious. Closes #1065 Untested.
-
由 James Ko 提交于
-
- 20 1月, 2016 8 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Fixes #896
-
由 Mislav Marohnić 提交于
Fixes #1057
-
由 Mislav Marohnić 提交于
rename gh command to hub in docs
-