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: Wednesday, March 1, 2006 - 10:40 am

On Wed, 1 Mar 2006, Josef Weidendorfer wrote:

Yes, I think that would make tons of sense.


I think that would make things a lot more flexible, and yes, it sounds 
like a good idea.

HOWEVER.

I think it's not only very common, but quite useful, to do what we do now, 
ie

	git log origin..

to see "what is in origin but not in HEAD".

So there's a big usability issue: I don't think it's good to have to say

	git log remotes/origin/master..

to do the same.

So from a usability standpoint, we'd have to teach "get_sha1()" about 
parsing .git/remotes/* files if it cannot find a branch or a tag with that 
name (which it wouldn't be able to, since even if it were to walk the 
directories udner .git/refs/ recursively, it would be named "master" 
there).

But if somebody does the get_sha1() magic, and Junio agrees, then I think 
it would be a great thing to do.

			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 ..., Josef Weidendorfer, (Wed Mar 1, 10:14 am)
Re: git-svn and huge data and modifying the git-svn-HEAD b ..., Linus Torvalds, (Wed Mar 1, 10:40 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)