Merged r10856 and r10857 from trunk to 2.1-stable (#12409)
scm: git: fix changesets aren't read after clear_changesets call.
Authored by: tmaruyama 2012-11-21
Parent: [r10857]
Child: [r10859]