Starting from version 1.7.9, git can cache credentials used when accessing remotes over HTTP; this helper provides integration with the OS X keychain. I copied git-1.7.10.2.ebuild from the portage and make a patch to install git-credential-osxkeychain if $ARCH ends with "-macos". Reproducible: Always
Created attachment 316295 [details, diff] patch to git-1.7.10.2.ebuild to install osxkeychain credential helper You can also check this patch on github: https://github.com/hongqn/hongqn-gentoo-overlay/commit/d3ceabd972a4b17ca6ce13e9fa3777d8eea1af53
Seems like an acceptable idea to me, assigning to maintainer
(In reply to comment #2) > Seems like an acceptable idea to me, assigning to maintainer After further review, you should be checking for CHOST instead of ARCH. if [[ ${CHOST} == *-darwin* ]]; then foo fi
Created attachment 316373 [details, diff] patch to git-1.7.10.2.ebuild to install osxkeychain credential helper Use $CHOST instead of $ARCH to identify the OS. Thank darkside for the review.
Fixed in 1.7.12-r2.