magnusstahre/git-stuff — pull request #3 by jasonkarns (2014-11-08 14:57:06+00:00)
Title: checkout ref when reached

when next_commit is empty (means target has been reached), set the 'checkout target' to be the ref, rather than sha