On 11/01/2015 02:51 PM, Мисбах-Соловьёв Вадим wrote: >> You shouldn't use rsync anymore, it is inherently insecure. The git tree >> is _properly_ gpg signed so you can verify it's correctness. >> >> With the following portage configuration/hooks, any user can run the >> tree directly from git: >> https://github.com/hasufell/portage-gentoo-git-config >> >> At some point, rsync schould be deprecated completely. > > Nice try, but sometimes (say, in case of very unstable internet connection) > it is IMPOSSIBLE to properly sync git repo (because it tries to fetch all the > queue (between local HEAD and remote one) in a row, from the exactly same > place every time it fails), while it still possible to sync tree by rsync, > because it only fetches differences and do not drop properly downloaded files. > > Do NOT (!) assume flawless shiny 40Gbit internet everywhere in the world. > Stop being so selfish and thinking only from position of the developer. > Always do imagine you as the gentoo user in the worst possible case. > Please. >
git clone --depth=1 (you can also put that into your repos.conf, the option is called 'sync-depth'). --depth is also available for regular pulls. And thanks for calling me selfish for trying to make it possible for users to directly use a git checkout as the local tree. I appreciate it. :)