scm: git: refactor lastrev() in adapter.
Authored by: tmaruyama 2011-02-28
Parent: [r4962]
Child: [r4964]