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

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

From
Theodore Tso <tytso@mit.edu>
Date
Mar 28, 2008, 14:31 UTC
Message-ID
<20080328143114.GL7202@mit.edu>
In-Reply-To
<47ECF459.2040500@users.sourceforge.net>
On Fri, Mar 28, 2008 at 02:36:25PM +0100, Adam Piatyszek wrote:
Show 7 quoted lines
>
> The question makes no sense to me. Git by design is a distributed SCM tool, 
> so there is no such thing like "remote revisions". You can have tracking 
> branches (clones) of some remote repositories, but all the commits on such 
> branches are also stored locally. So you have full access to them, even 
> without a permanent connection to such remote repositories.
>

It would certainly be possible to *implement* such a thing, but first question would be, "why would you want to". One of the things that makes git so nice is that repositories don't take that much space, and if you have a local repository (or no network access at all) it's much faster to consult the local repository at all.

In fact, with svn, I normally consider it a bug that you *have* to consult the remote repository to do a diff between two arbitrary revisions.

						- Ted
Previous: Adam PiatyszekNext: Bill Lear
Message 3 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.