git-checkout doesn't understand '--' as a separator between <branch> (which is optional, but you can always write HEAD), and <path>... 1144:jnareb@roke:~/git> git checkout HEAD^ -- gitweb/gitweb.cgi git-checkout-index: -- is not in the cache Strange... -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - : 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