Re: GSOC remote-svn
From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:54:18
Matthieu Moy wrote:
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