Thread (80 messages) flat view 80 messages, 5 authors, 2016-08-29

Re: name for A..B ranges?

From: Philip Oakley <hidden>
Date: 2016-06-25 13:50:25

Possibly related (same subject, not in this thread)

From: "Junio C Hamano" <redacted>
Jeff King [off-list ref] writes:
quoted
On Wed, Jun 22, 2016 at 08:25:59AM +0100, Philip Oakley wrote:
quoted
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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help