commit | 242fcdd93b461263a1322093d432427736cf7e41 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Jul 10 15:45:49 2019 -0400 |
committer | Mike Frysinger <vapier@google.com> | Thu Jul 11 01:32:38 2019 +0000 |
tree | 53622d4bf4c3aeff1fd63087388a5245b2ba464e | |
parent | ca540aed19bb89a4cd71de83ba123338e1e721f6 [diff] |
main: user-agent: include full git version info We've been truncating the git version info in the user agent to the first three components. So given an example `git --version` like "2.22.0.510.g264f2c817a-goog", we were cutting it down to "2.22.0". For user-agent purposes, we usually want that full string, so use the original full value instead. Bug: https://crbug.com/gerrit/11144 Change-Id: I8ffe3186bdaac96164c34ac835a54bb3fc85527e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/231056 Reviewed-by: David Pursehouse <dpursehouse@collab.net> Tested-by: Mike Frysinger <vapier@google.com>
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.