git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git vs svn. Is ... possible ?

From
JGJohn 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
Previous: Bill Lear
Message 5 of 5 in “Git vs svn. Is ... possible ?”
  1. Rafał MużyłoMar 28, 2008
  2. Adam PiatyszekMar 28, 2008
  3. Theodore TsoMar 28, 2008
  4. Bill LearMar 28, 2008
  5. John GoerzenMar 31, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.