Skip to content
Snippets Groups Projects
Commit e59e2ae7 authored by Josip Sokcevic's avatar Josip Sokcevic Committed by LUCI
Browse files

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: default avatarSam Saccone <samccone@google.com>
Tested-by: default avatarJosip Sokcevic <sokcevic@google.com>
parent c44ad093
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment