git-review/releasenotes/notes/add-no-thin-option-ea7cb50e22e7017d.yaml
Clark Boylan 39cd763d5d Add option for disabling thin pushes
There is a long standing issue with C Git pushing to Gerrit and Jgit
where the occasional push will fail because the negotiated packs are
missing a tree object. This happens very occasionally but when it does
it would be nice to be able to point users at an easy workaround.
Pushing with --no-thin is that workaround.

Note that --no-thin is much less efficient so shouldn't be used by
default.

This old bug, https://bugs.launchpad.net/git-review/+bug/1332549, has
details but it seems to affect current C git and Gerrit+Jgit.

Change-Id: Id6ba52a656a14c921acab1b14ef668e6251245da
2021-04-12 11:38:23 -07:00

10 lines
415 B
YAML

---
features:
- |
Add support for --no-thin which is passed to git push. This is useful to
work around situations where Gerrit's JGit and git-review's C git
implementations cannot agree on the pack file contents used to transfer
a push. When they disagree you see this as unpack failures due to missing
trees. Using --no-thin avoids complicated negotiations and works around
this problem.