Re: [PATCH] Fix overwritten remote ref on with fast-import.
- From
Florian Achleitner <florian.achleitner.2.6.31@gmail.com>
- Date
- Jul 17, 2012, 20:52 UTC
- Message-ID
- <1571690.jxJy5HzrPO@flobuntu>
- In-Reply-To
- <20120717134820.GE3071@burratino>
On Tuesday 17 July 2012 08:48:20 Jonathan Nieder wrote:
Show 16 quoted lines
> Florian Achleitner wrote: > > On Monday 16 July 2012 22:27:25 Jonathan Nieder wrote: > >> Hm, that still doesn't look right. The RHS of the refspec is supposed to > >> be a _private_ namespace for the remote helper, and refs/remotes/ is > >> not private. > > [...] > > > remote-svn now uses get_fetch_map to retrieve the local refs. So it > > respects the fetch refspec in the config. > > No no no no no. That's transport-helper's job. > > The RHS of the remote helper's refspec really is supposed to be > _private_. Improvements to the documentation to clarify this would be > welcome.
So we want the transport-helper to touch only private refs, i.e. some subdir of refs/, ok. On the other hand I thought we expect git-fetch to update the RHS of the passed refspec (or the default one ). How?
Btw, whats FETCH_HEAD for?
> > Thanks, > Jonathan
Thanks, Florian