Better version of getUnpushedCommits.
Better version of getUnpushedCommits.

remove max_count
calc last_pushed_commit_id from the regfs.
barry-scott/git-workbench,barry-scott/git-workbench,barry-scott/scm-workbench,barry-scott/scm-workbench,barry-scott/scm-workbench