commit | abfd23779f7118d331eb23f79506debc5f95b511 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitri@shuralyov.com> | Sun Jun 03 14:03:53 2018 -0400 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Jun 12 19:14:31 2018 +0000 |
tree | 4edea89bc67ecab466c73841d76ca2a5d5f1b04c | |
parent | 0d7a66991c6e16602c02f2deda6f7b0908be4b7a [diff] |
git-codereview: use --path option of git config to expand ~ This change largely reverts CL 115576, and applies a simpler version. It uses the --path option of git config to achieve equivalent behavior. The --path option is available as far back as git 1.7.0, according to https://git-scm.com/docs/git-config/1.7.0, making it safe to rely on: The type specifier can be [...] --path, which does some path expansion (see --path below). If no type specifier is passed, no checks or transformations are performed on the value. --path git-config will expand leading ~ to the value of $HOME, and ~user to the home directory for the specified user. Change-Id: I74bb543ab488d24fe4cf66da0c6dbc087dc368a6 Reviewed-on: https://go-review.googlesource.com/116016 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
The git-codereview tool is a command-line tool for working with Gerrit.
The easiest way to install is to run go get -u golang.org/x/review
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/review
.
The review binary itself is available at golang.org/x/review/git-codereview
. Run git codereview hooks
to install Gerrit hooks for your git repository.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the review repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/review:” in the subject line, so it is easy to find.