From: "Junio C Hamano" <gitster@xxxxxxxxx>
Jeff King <peff@xxxxxxxx> writes:
On Wed, Jun 22, 2016 at 08:25:59AM +0100, Philip Oakley wrote:
Is there a common name for the A..B range format (two dots) that would
complement the A...B (three dots) symmetric range format's name?
I was looking at the --left-right distinctions and noticed that the
trail
back to the symmetric range description was rather thin (it's buried
within
gitrevisions:Specifying Ranges, and even then its called a symmetric
difference.
I would just call it a range, or possibly a set difference. But I don't
think we have any established naming beyond that.
Yup, I think "range" is the commonly used word in discussions here.
When inventing A...B as a new thing in addition to A..B, we called
the former "symmetric difference", and what is implied by that is
the latter is "asymmetric difference"; we do not say that unless we
are contrasting between the two, though.
I asked because the man page does indicae that it (A..B) is a special sort
of revison range and "there is a shorthand for it", but then didn't have a
way of naming it.
The symmetric difference is then brought in as a further similar notation.
There are a number of Stackoverflow questions about the differences betwee
'two dots' and 'three dots' as well, so having a word/phrase for it could
help.
I was thinking that maybe "single-sided difference (two dots)" maybe one
choice that is relatively neutral (or even a "two-dot range"...).
--
Philip
--
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