Re: Q: "git diff" using tag names
- From
Frans Klaver <fransklaver@gmail.com>
- Date
- Nov 2, 2011, 09:34 UTC
- Message-ID
- <CAH6sp9OdjNZ6_j-eSFMpecUcxW_y6fpkDZ0cRds62wOrc12x-Q@mail.gmail.com>
- In-Reply-To
- <20111102132945.582707aa@ashu.dyn.rarus.ru>
On Wed, Nov 2, 2011 at 10:29 AM, Alexey Shumkin <alex.crezoff@gmail.com> wrote:
Show 5 quoted lines
>> 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
As per the git-diff documentation, these two versions behave equally -- i.e. no differences.
Comparing branches $ git diff topic master <1> $ git diff topic..master <2> $ git diff topic...master <3> 1. Changes between the tips of the topic and the master branches. 2. Same as above. 3. Changes that occurred on the master branch since when the topic branch was started off it.
Cheers, Frans