Re: git-svn and huge data and modifying the git-svn-HEAD branch directly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, February 27, 2006 - 5:41 pm

On Tue, 28 Feb 2006, Martin Langhoff wrote:

Well, I wouldn't say that tags are expected to stand still. Some kinds of 
tags are expected to move: a "this is the last tested version" tag would 
be expected to move with testing. 

That said, the movement is _different_ from a branch. A branch is expected 
to move _with_ development, while a tag is expected to either stay the 
same, or move _after_ development.

However, in many ways git really doesn't care much. The "refs/heads" 
directory is the only one that is really special, in that "git checkout" 
refuses to check out a moving branch in anything but that subdirectory. 
The "tags" subdirectory is slightly special to some helpers (like "git 
pull"), which have flags to pull everythying in that subdirectory. 

But other than those two pretty trivial issues, any ref under "refs/" 
should work perfectly fine. I would argue that a specialized tracking tool 
might well be better off without using either "refs/heads" _or_ 
"refs/tags", since those have accepted meaning outside of tracking.

Using a "refs/remotes" subdirectory makes tons of sense for something like 
this. Or something even more specific, like "refs/svn-tracking/". Git 
shouldn't care - all the tools _should_ work fine with any subdirectory 
structure.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn and huge data and modifying the git-svn-HEAD branc ..., Nicolas Vilz 'niv', (Mon Feb 27, 10:59 am)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Nicolas Vilz 'niv', (Mon Feb 27, 12:34 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Nicolas Vilz 'niv', (Mon Feb 27, 1:47 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Linus Torvalds, (Mon Feb 27, 5:41 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Josef Weidendorfer, (Wed Mar 1, 10:14 am)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Josef Weidendorfer, (Wed Mar 1, 11:06 am)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Josef Weidendorfer, (Wed Mar 1, 1:26 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Josef Weidendorfer, (Wed Mar 1, 1:54 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Johannes Schindelin, (Wed Mar 1, 2:07 pm)