Sync into a quarantine subdirectory, using the rsync --link-dest option
to create hardlinks to identical files in the previous snapshot of the
repository. If hardlinks are not supported, then show a warning message
and sync directly to the normal repository location.
If verification succeeds, then
Fetch the upstream remote and use git merge to update the checkout
only after successful verification of the upstream head.
Suggested-by: Richard Freeman
Bug: https://bugs.gentoo.org/660372
---
pym/portage/sync/modules/git/git.py | 34 +-
1 file changed, 29 insert