davisp/ghp-import — pull request #19 by lepture (2013-12-19 03:39:31+00:00)
Title: Get prev commit revision right.

Before the fix:

$ git rev-list --max-count=1 branch

This will always throw an error. The fixed version is:

$ git rev-list --max-count=1 refs/heads/branch

Related issue: https://github.com/davisp/ghp-import/issues/18