Do not query git for tags and branches multiple times per request.
Authored by: jplang 2010-02-20
Parent: [r3466]
Child: [r3468]