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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to