Re: Any way to get complete diff up to a tag?
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- May 6, 2010, 09:42 UTC
- Message-ID
- <20100506094212.GB9921@atjola.homenet>
- In-Reply-To
- <A612847CFE53224C91B23E3A5B48BAC74482E50D9F@xmail3.se.axis.com>
On 2010.05.06 11:27:40 +0200, Peter Kjellerstedt wrote:
Show 6 quoted lines
> If I use > > $ git diff $(git rev-list --reverse v1.7.1 |head -1)..v1.7.1 > > I almost get what I want, but the initial commit is still missing. > Is there any way to get that initial commit included in the diff?
git internally knows about the empty tree, so you can use: git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 v1.7.1
Björn