Re: GSOC remote-svn
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 23, 2012, 11:59 UTC
- Message-ID
- <20120723115902.GD14294@burratino>
- In-Reply-To
- <vpqr4s2nc0j.fsf@bauges.imag.fr>
Matthieu Moy wrote:
Show 10 quoted lines
> The man page for git-remote-helpers says: > > refspec <refspec> > [...] It is recommended that all importers providing the import > capability use this. > > I'm not sure I fully understand the rationale, but one difference > between refs/<remote name>/* and refs/remotes/<remote name> is that > refs/remotes/ is automatically updated by Git on push, while the private > namespace isn't (it only receives updates when importing).
It's mostly to allow "git fetch" to avoid non fast-forward updates unless -f was used or the refspec starts with +.
I always liked the idea of tweaking the fast-import stream format to allow the import to happen on no branch at all since it would avoid all these questions. Maybe another day.
Thanks, Jonathan