We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621de7e commit cfe3095Copy full SHA for cfe3095
project.py
@@ -2664,7 +2664,10 @@ def _RemoteFetch(
2664
# TODO(b/360889369#comment24): git may gc commits incorrectly.
2665
# Until the root cause is fixed, retry fetch with --refetch which
2666
# will bring the repository into a good state.
2667
- elif gitcmd.stdout and "could not parse commit" in gitcmd.stdout:
+ elif gitcmd.stdout and (
2668
+ "could not parse commit" in gitcmd.stdout
2669
+ or "unable to parse commit" in gitcmd.stdout
2670
+ ):
2671
cmd.insert(1, "--refetch")
2672
print(
2673
"could not parse commit error, retrying with refetch",
0 commit comments