gc: Add tags to remote pack list
If tags are omitted from the remote pack list, they must be present in local pack. However, local packs don’t have promisor objects, meaning that all blobs must be available locally, and therefore all missing blobs will be downloaded during rev-list phase. Git downloads those sequentially, by invokving fetch operation (rev-list/fetch).
Instead of downloading tags’ blobs, instruct Git to include all tags in remote rev-list operation. This change was tested with
git fsck --all
.Bug: b/392732561 Change-Id: Id94a40aebbe4f084c952329583d559d296db1a11 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/451422 Reviewed-by: Yiwei Zhang yiwzhang@google.com Tested-by: Josip Sokcevic sokcevic@chromium.org Commit-Queue: Josip Sokcevic sokcevic@chromium.org
repo
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.
Contact
Please use the repo-discuss mailing list or issue tracker for questions.
You can file a new bug report under the “repo” component.
Please do not e-mail individual developers for support. They do not have the bandwidth for it, and often times questions have already been asked on repo-discuss or bugs posted to the issue tracker. So please search those sites first.
Install
Many distros include repo, so you might be able to install from there.
You can install it manually as well as it’s a single script.