1
0
Fork 0
git-repo/subcmds
Josip Sokcevic 8d5f032611 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`.

R=yiwzhang@google.com

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>
2025-02-05 12:36:27 -08:00
..
__init__.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
abandon.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
branches.py branches: Escape percent signs in branch names 2024-12-03 19:02:20 +00:00
checkout.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
cherry_pick.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
diff.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
diffmanifests.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
download.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
forall.py forall: Fix returning results early 2024-10-30 16:11:04 +00:00
gc.py gc: Add tags to remote pack list 2025-02-05 12:36:27 -08:00
grep.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
help.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
info.py info: Handle undefined mergeBranch 2023-11-20 19:22:53 +00:00
init.py init: add --manifest-upstream-branch 2024-09-26 00:52:28 +00:00
list.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00
manifest.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
overview.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
prune.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
rebase.py Update logger.warn to logger.warning 2023-10-13 19:34:26 +00:00
selfupdate.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
smartsync.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
stage.py subcmds: Use repo logger 2023-09-14 17:13:37 +00:00
start.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
status.py subcmds: reduce multiprocessing serialization overhead 2024-10-23 23:34:34 +00:00
sync.py Revert "sync: skip network half on repo upgrade" 2025-01-31 12:01:49 -08:00
upload.py upload: Return correct tuple values in _ProcessResults 2024-10-31 21:18:53 +00:00
version.py cleanup: Update codebase to expect Python 3.6 2023-10-31 16:03:54 +00:00