Updating metadata's portage cache while using git

Gentoo usually use rsync to upgrade the Portage tree but it's now possible to use git. It's way faster because instead of reading the whole tree to see the differences between the local tree and the remote one, you just need to transmit the commits since the last update. It uses less bandwidth, less IO.

But when you do this, you won't have the tree's metadata. It may be a problem if, like me, you use eix to get informations concerning local ebuilds. So, even if you update with emerge –sync or eix-sync you won't have the updated informations in eix.

You have to manually update the metadata cache with egencache –jobs=8 –update –repo=gentoo

It may take a lot of time.

The time to synchronize you tree will be shorten but the time required to update the cache will be way bigger. That's why I don't do it each time i update Portage. As I closely track the new packages in Portage with RSS, I more or less know what's coming inside the tree so I only update it when something interesting get in.