commit | 3995ebd8c1569f2c3e59c33593fed611a923f428 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Sun Feb 16 12:38:36 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Feb 17 03:57:19 2020 +0000 |
tree | 5ad3c6178c8cacbdec1a4f6be0bc2df113ca4d99 | |
parent | b57e633433eaf32f9c2e3f398937f99a5319869c [diff] |
Update commit-msg hook to version from Gerrit 3.1.3 Includes the following commits (redacted to those that are relevant): da300bd9bd8 - Do not create a change id if gerrit.createChangeId == false 731eb42b8ae - Do not strip out "-- >8 --" comment in commit-msg hook 627d07c2bfc - Handle messages with only comments in the commit-msg hook 68296f71804 - Simplify the hook script using git-interpret-trailers Change-Id: I7a82836495427df3c5437ba88a9576b47629065f Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255393 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: David Pursehouse <dpursehouse@collab.net>
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.
Many distros include repo, so you might be able to install from there.
# Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo emerge dev-vcs/repo
You can install it manually as well as it's a single script.
$ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo