From: Johannes Löthberg Date: Wed, 18 Nov 2015 11:02:13 GMT Subject: Re: Three dot notion used inconsitent? Message-ID: <20151118110213.GA24055@zorg.kyriasis.com> In-Reply-To: <1CDF2D38-B73A-4C49-BC10-1F3BA1873733@gmail.com> On 18/11, Lars Schneider wrote: >git diff branchA...branchB >--> gives me the diff between (the common ancestor of A and B) and B. That means I never see changes on branchA. > >git log branchA...branchB >--> gives me the commits reachable from A and B. That includes changes from branchA. > >Is this because of a design decision that I do not (yet) understand or is this inconsistent for historical reasons? > The standard meaning of A...B is all the commits reachable from A or B, but not from both. (See gitrevisions(7) for more info.) git-diff has its own nonstandard definition, where A...B is defined as all the commits from a comman ancestor of A and B, up to B. -- Sincerely, Johannes Löthberg PGP Key ID: 0x50FB9B273A9D0BB5 https://theos.kyriasis.com/~kyrias/