commit | f88b2fe5699ed224ad693e22a4c26fb76b8befc8 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Jul 10 15:37:43 2019 -0400 |
committer | Mike Frysinger <vapier@google.com> | Thu Jul 11 01:29:18 2019 +0000 |
tree | 41de2e902dad01d21c1cee1bf4392a487d00f018 | |
parent | 6db1b9e282c1bf6625ca19a595fb56be44ba276f [diff] |
repo: all ParseGitVersion to load git version info itself All code that calls ParseGitVersion needs to run `git --version` itself and parse the output before passing it in. To avoid that duplication, allow ParseGitVersion to run `git --version` itself if ver_str=None. Bug: https://crbug.com/gerrit/11144 Change-Id: Ie07793ca57a40c0231af808df04a576118d5eea3 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/231054 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-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.