Felipe Contreras wrote: >> +test_expect_success 'switch to old-branch' ' >> + git checkout old-branch >> +' >> + >> +check HEAD refs/heads/old-branch >> +check "HEAD@{1}" commit new-two >> +check "@{1}" commit old-one > > And here we are testing something completely different. How? I'm showing that HEAD@{1} can be different from @{1}. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html