diff options
author | Josip Sokcevic <sokcevic@chromium.org> | 2024-09-12 04:32:25 +0000 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-09-12 15:27:12 +0000 |
commit | e59e2ae757623e64f625a9cdadf1c2010ef82b34 (patch) | |
tree | 101601055a9fe3d72080a7e63a03d0c158914a2c /git_command.py | |
parent | c44ad093092f71320c6311cc1fc3de9171f6bd0c (diff) | |
download | git-repo-e59e2ae757623e64f625a9cdadf1c2010ef82b34.tar.gz |
project: run fetch --refetch onacould not parse commit
git may gc reachable objects in partial clone repository due to a bug
(report:
https://lore.kernel.org/git/20240802073143.56731-1-hanyang.tony@bytedance.com/
). Until git is properly patched and released, force --refetch iff
"could not parse commit" is part of git output. --refetch will will
ensure that gc'ed objects are retrieved.
Bug: b/360889369
Change-Id: I0fc911c591060f859235dcd8d019881106f0858e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/437017
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Sam Saccone <samccone@google.com>
Tested-by: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'git_command.py')
0 files changed, 0 insertions, 0 deletions