- 18 1月, 2019 12 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
This is displayed for e.g. flag parsing errors like `hub pr list --foo`
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Passing a URL to `--issue` has never worked. It has to be a number. Passing a URL like `hub pull-request <ISSUE-URL>` has worked but hasn't been documented. I do not wish to add it to documentation now, as it may be dropped in the future.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 17 1月, 2019 5 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Design considerations: - treats `--flag=VALUE` as equivalent of `--flag VALUE` - treats `-abcVALUE` as equivalent to `-a -b -c VALUE` - allows `--opt=false` as opposite of `--opt` or `--opt=true` - retrieve values as string, slice of strings, bool, or int
-
- 08 1月, 2019 1 次提交
-
-
由 Mislav Marohnić 提交于
Improve label contrast ratios
-
- 03 1月, 2019 13 次提交
-
-
由 Mislav Marohnić 提交于
Fix alphabetical sort of `hub issue labels` output
-
由 Mislav Marohnić 提交于
The API result isn't guaranteed to be sorted case-insensitive, so we perform the sort in memory before displaying.
-
由 Mislav Marohnić 提交于
Pick between white and black depending on which one is the first to satisfy the contrast ratio of 7.0 (or 4.5 as fallback).
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Fixes #1919
-
由 Andrew Janke 提交于
-
由 Mislav Marohnić 提交于
This fixes the seemingly random order of hosts in the interactive prompt on `hub init -g`, `hub clone`, etc.
-
由 Mislav Marohnić 提交于
Fixes #1991
-
由 Mislav Marohnić 提交于
build: respect environment LDFLAGS and strip the build path
-
由 Mislav Marohnić 提交于
Go 1.10 release notes: > The go build -asmflags, -gcflags, -gccgoflags, and -ldflags options > now apply by default only to the packages listed directly on the > command line. For example, go build -gcflags=-m mypkg passes the > compiler the -m flag when building mypkg but not its dependencies. The > new, more general form -asmflags=pattern=flags (and similarly for the > others) applies the flags only to the packages matching the pattern. > For example: go install -ldflags=cmd/gofmt=-X=main.version=1.2.3 > cmd/... installs all the commands matching cmd/... but only applies > the -X option to the linker flags for cmd/gofmt. For more details, see > go help build.
-
由 Mislav Marohnić 提交于
-
由 Eli Schwartz 提交于
golang does not natively respect LDFLAGS, but you can pass them on the command line using -ldflags=-extldflags=... This is important for distributions, in order to provide common functionality such as hardening flags. Also strip the prefixed root source directory from the embedded source file paths. This is not important information for the debugger, which should only care about paths relative to $GOPATH, and results in less build environment metadata leaking into the final binary. (This also aids in reproducible builds when using different build directories, see e.g. https://github.com/golang/go/issues/16860)
-
- 02 1月, 2019 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 31 12月, 2018 1 次提交
-
-
由 Mislav Marohnić 提交于
build: embed reproducible timestamp in manpages
-
- 30 12月, 2018 1 次提交
-
-
由 Eli Schwartz 提交于
If the environment variable SOURCE_DATE_EPOCH is set in the build environment, prefer it over the current date when determining the correct timestamp to use as the date the manpages were built. See https://reproducible-builds.org/specs/source-date-epoch/
-
- 29 12月, 2018 5 次提交
-
-
由 Mislav Marohnić 提交于
Generate man pages using Go instead of Ruby
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-