Am 06.07.2012 um 09:21 schrieb Junio C Hamano <gitster@xxxxxxxxx>: > Max Horn <max@xxxxxxxxx> writes: > >> +'<rev>{caret}@', e.g. 'HEAD{caret}@':: >> + A suffix '{caret}' followed by an at sign >> + means all parents of '<rev>'. >> + This is somewhat different from the other specifiers in this >> + section in that it may refer to multiple commits at once. >> + See also the next section on SPECIFYING RANGES. > > Looks good. > > >> +'<rev>{caret}!', e.g. 'HEAD{caret}!':: >> + A suffix '{caret}' followed by an exclamation mark >> + means commit '<rev>' but forces all of its parents to be excluded. For >> + commands that deal with a single revision, this is the same as '<rev>". > > Is this sentence correct? "git commit -C 'HEAD^!'" might be a > command that expects a single revision, but I do not think it is the > same as "git commit -C HEAD". Ignoring the exact words I used for the moment, what I meant is that these two commands should be functionally equivalent. Aren't they? If not, I obviously misunderstand something, and would like to learn more, and add a better explanation. If they are equivalent in the sense that the end results are indistinguishable,, and you just dislike the (indeed inaccurate) choice of words, how about replacing "is the same as" by "is [functionally] equivalent". Thank you very much for your reviews, Max > >> + Hence it is primarily used with commands expecting commit ranges. > > That is correct. > -- 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