scm: git: backout r8839 (#8857)
call "git log" only once instead of per branch in fetching revisions.
Authored by: tmaruyama 2012-03-07
Parent: [r9141]
Child: [r9143]