I’m going to be pushing out an new feature to portage today, since testing has gone well.
SYNC_METHOD is a new portage variable, I’ve also gone to the trouble of defining it in make.globals. The default for Regen2. is git, however, rsync and cvs have also been defined although not tested.
the main benefit of SYNC_METHOD is to use one way of detecting the program you should use to detect the tree. previous variations were problematic, as rsync does not have a directory like .git and .git supports the rsync:// protocol.
I’ve added these defaults to make.globals
# Default sync method
# Default sync mirror
# default git method specific settings
you may of course override them with make.conf.
changes will officially be in portage-2.2_rc23-r3.