From: Junio C Hamano Date: Wed, 02 Nov 2011 09:35:59 GMT Subject: Re: Q: "git diff" using tag names Message-ID: <7vty6mkgsg.fsf@alter.siamese.dyndns.org> In-Reply-To: <20111102132945.582707aa@ashu.dyn.rarus.ru> Alexey Shumkin writes: >> Also it seems that both syntaxes work: >> git diff v0.4..v0.5 >> git diff v0.4 v0.5 > honestly, I do not know the difference (at the moment :)) > may be gurus or manual will help to discover it The latter is the kosher version, as diff is about two "endpoints" and not about "ranges". The only reason the former is parsed without erroring out is because too many people are used to type .. between two things without thinking, learned the notation from "git log", which _is_ about ranges.