Re: [PATCH v5 01/12] doc: use 'symmetric difference' consistently

2016-08-26 Thread Junio C Hamano
Jakub Narębski  writes:

>>  --left-right::
>> -Mark which side of a symmetric diff a commit is reachable from.
>> +Mark which side of a symmetric difference a commit is reachable from.
>>  Commits from the left side are prefixed with `<` and those from
>>  the right with `>`.  If combined with `--boundary`, those
>>  commits are prefixed with `-`.
>
> That's very nice that two^W three related options, namely --left-only,
> --right-only and --left-right now use the same notation.
>
> I guess that "symmetric range" was to mean "symmetric difference range".

By "symmetric difference", we mean a "set difference" operation that
is symmetric.  Contrasting with asymmetric difference that gives a
set of elements that belong to set A but do not belong to set B
(i.e. B..A), symmetric difference of set A and set B gives a set of
elements that belong to either set A alone or set B alone but not
both (i.e. A...B).

So if you really want a fully spelled name, we would not want to
call it with a name with "range".  It is "symmetric set difference",
and "symmetric difference" in the updated sentence is a short-hand
for that.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v5 01/12] doc: use 'symmetric difference' consistently

2016-08-26 Thread Jakub Narębski
W dniu 11.08.2016 o 23:50, Philip Oakley pisze:
  
> diff --git a/Documentation/rev-list-options.txt 
> b/Documentation/rev-list-options.txt
> index 4f009d4..6dc0bb0 100644
> --- a/Documentation/rev-list-options.txt
> +++ b/Documentation/rev-list-options.txt
> @@ -225,7 +225,7 @@ excluded from the output.
>  
>  --left-only::
>  --right-only::
> - List only commits on the respective side of a symmetric range,
> + List only commits on the respective side of a symmetric difference,
>   i.e. only those which would be marked `<` resp. `>` by
>   `--left-right`.
>  +
> @@ -766,7 +766,7 @@ ifdef::git-rev-list[]
>  endif::git-rev-list[]
>  
>  --left-right::
> - Mark which side of a symmetric diff a commit is reachable from.
> + Mark which side of a symmetric difference a commit is reachable from.
>   Commits from the left side are prefixed with `<` and those from
>   the right with `>`.  If combined with `--boundary`, those
>   commits are prefixed with `-`.

That's very nice that two^W three related options, namely --left-only,
--right-only and --left-right now use the same notation.

I guess that "symmetric range" was to mean "symmetric difference range".

Best,
-- 
Jakub Narębski

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html