Re: Git vs svn. Is ... possible ?
- From
- John Goerzen <jgoerzen@complete.org>
- Date
- Mar 31, 2008, 15:41 UTC
- Message-ID
- <slrnfv21gk.b4c.jgoerzen@katherina.lan.complete.org>
- In-Reply-To
- <20080328132438.GA32646@blackspire>
On 2008-03-28, Rafa? Mu?y?o <galtgendo@o2.pl> wrote:
> Well, the actual question is: > In svn I can do a remote diff (diff between two remote revisions) without > having to do a checkout, is this possible for git ?
You can craft URLs to gitweb in specific ways to do this. For instance:
http://git.complete.org/branches/redmine-integration/?a=commitdiff_plain;h=fb-bug-738-projects-block;hp=upstream
Shows the diff from branch upstream to branch fb-bug-738-projects-block. You can replace the branch names with the full 40-character SHA1 ids as well.
Leave off the "_plain" and you get diff highlighting.
The header at the top of this thing is going to be a bit misleading, but the content is what you want.
-- John