- 10 7月, 2015 1 次提交
-
-
由 Mislav Marohnić 提交于
Avoid depending on a hardcoded list of git global flags
-
- 09 7月, 2015 9 次提交
-
-
由 Mislav Marohnić 提交于
Avoids mutating `globalFlags` until a match has actually been found.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Update EDITMSG copy
-
由 Justin Campbell 提交于
-
由 Mislav Marohnić 提交于
Before, the argument parser would translate `--help` and `--version` to their equivalents without the dashes. Now it's not the parser's responsibility to do that anymore. Instead, wire them up as subcommand aliases in the runner.
-
由 Mislav Marohnić 提交于
This relieves `slurpGlobalFlags` of having too many duties
-
由 Mislav Marohnić 提交于
We used to recognize git global flags based on a hardcoded list. Whenever git added more global flags, we didn't support them in hub until we updated the list. Now, treat all flags coming before the subcommand as global flags. These are the rules: 1. Initially, every argument except `--help` and `--version` that starts with a `-` is considered to be a global flag. 2. Additionally, `-c` and `-C` flags have a value. 3. When an argument appears that doesn't match the above rules, assume that it's the git subcommand and stop global args parsing.
-
- 08 7月, 2015 1 次提交
-
-
由 Mislav Marohnić 提交于
Fix spurious test failure when GIT_EDITOR is set
-
- 07 7月, 2015 1 次提交
-
-
由 Will Maier 提交于
`git var` checks the `$GIT_EDITOR` environment variable before the `core.editor` config knob. `TestGitDir` intends to verify that the latter is respected, so sanitize the environment before running the test and restore it upon completion.
-
- 13 6月, 2015 3 次提交
-
-
由 Jingwen Owen Ou 提交于
Support coloring console on Windows
-
由 Jingwen Owen Ou 提交于
Introduce github.com/mattn/go-colorable to solve the console color issues on Windows
-
由 Jingwen Owen Ou 提交于
bitbucket.org/kardinaos/osxt was removed and github.com/inconshreveable/go-update has changed to use github.com/kardianos/osext. Not bumping go-update will prevent upgrade of other packages with `godep save -r ./…`
-
- 10 6月, 2015 2 次提交
-
-
由 Jingwen Owen Ou 提交于
Fix password insertion more than 15 characters on Windows
-
由 Jingwen Owen Ou 提交于
Bumping to the latest gopass. This fixes https://github.com/github/hub/issues/837.
-
- 05 6月, 2015 1 次提交
-
-
由 Mislav Marohnić 提交于
After `browse` was indicated as "GitExtension: false", it now gets automatically parsed by pflag library. That has an adverse effect that it loses information about the `--` value being passed, since pflag treats it as terminator value and swallows it silently. Now, introduce the `args.Terminator` property to check if terminator was present or not, and use that in `browse` to restore previous behavior.
-
- 04 6月, 2015 1 次提交
-
-
由 Mislav Marohnić 提交于
The `browse` command is not an extension to an existing git command. Fixes #918
-
- 03 6月, 2015 6 次提交
-
-
由 Jingwen Owen Ou 提交于
Add OSX build to Travis
-
由 Mislav Marohnić 提交于
Faster than `brew install tmux` which depends on openssl package
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Travis `cache` directive doesn't seem supported on its osx environment.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
This is needed for the osx Travis environment which apparently doesn't support built-in caching. This reverts commit 3cba4e5d.
-
- 02 6月, 2015 1 次提交
-
-
由 Jingwen Owen Ou 提交于
-
- 22 5月, 2015 2 次提交
-
-
由 Mislav Marohnić 提交于
Use `--no-tags` for new remotes in `checkout/cherry-pick`
-
由 Mislav Marohnić 提交于
This is so the tags from the automatically-added remote (typically someone's fork) don't spill in and mix with the current tags.
-
- 14 5月, 2015 1 次提交
-
-
由 Mislav Marohnić 提交于
-
- 23 4月, 2015 2 次提交
-
-
由 Mislav Marohnić 提交于
fix non-portable GNU find(1)-ism
-
由 Kent R. Spillner 提交于
GNU find(1)'s -not operator is not POSIX compliant. Use ! operator instead in order to work with other find(1) implementations.
-
- 14 4月, 2015 2 次提交
-
-
由 Mislav Marohnić 提交于
useHttpProtocol => useProtocol, allow ssh config
-
由 William Giokas 提交于
`useHttpProtocol` has been changed to a more generic `preferedProtocol` function that can be used to check the users hub.protocol settings. This allows us to use the SSH protocol in any location, regardless of the repository being private or public. ``` % git config --global hub.protocol ssh % ./hub --noop clone github/hub git clone git@github.com:github/hub.git % git config --global hub.protocol https % ./hub --noop clone github/hub git clone https://github.com/github/hub.git % git config --global hub.protocol none % ./hub --noop clone github/hub git clone git://github.com/github/hub.git ``` Tests were also added for `HUB_PROTOCOL = ssh`.
-
- 13 4月, 2015 2 次提交
-
-
由 Jingwen Owen Ou 提交于
-
由 Jingwen Owen Ou 提交于
-
- 07 4月, 2015 5 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Marko Mikulicic 提交于
- Add test for `pull-request -a` - Narrow scope of `updateIssue` to `updateIssueAssignee`
-
由 Jingwen Owen Ou 提交于
Check for empty git config
-
由 Jingwen Owen Ou 提交于
This fixes #858
-