Nicolas Sebrecht wrote: > > Also, I'd expect to have 'git reset --hard -p' discarding hunks from > both the index and the WT (which is not possible for now unless I missed > something). Well, the unfortunate overlap between 'git reset --hard' and 'git checkout HEAD -- .' strikes again :-) Since you can't say 'git reset --hard -- file', you have to do 'git checkout HEAD -- file' to achieve this effect. So this usage is covered by 'git checkout -p HEAD'. -- Thomas Rast trast@{inf,student}.ethz.ch -- 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