test_reflog(repo,2,NULL,"refs/heads/haacked","foo@example.com","checkout: moving from master to haacked");
test_reflog(repo,1,NULL,"tags/test^{commit}","foo@example.com","checkout: moving from unborn to e90810b8df3e80c413d903f631643c716887138d");
test_reflog(repo,0,"tags/test^{commit}","refs/heads/haacked","foo@example.com","checkout: moving from e90810b8df3e80c413d903f631643c716887138d to haacked");
test_reflog(repo,4,NULL,"refs/heads/haacked","foo@example.com","checkout: moving from master to haacked");
test_reflog(repo,3,NULL,"tags/test^{commit}","foo@example.com","checkout: moving from unborn to e90810b8df3e80c413d903f631643c716887138d");
test_reflog(repo,2,"tags/test^{commit}","refs/heads/haacked","foo@example.com","checkout: moving from e90810b8df3e80c413d903f631643c716887138d to haacked");
test_reflog(repo,1,"refs/heads/haacked","tags/test^{commit}","foo@example.com","checkout: moving from haacked to test");
test_reflog(repo,0,"tags/test^{commit}","refs/remotes/test/master","foo@example.com","checkout: moving from e90810b8df3e80c413d903f631643c716887138d to test/master");