remote helpers: best practices for using the "refspec" capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Nieder wrote:

> | error: Ref refs/remotes/origin/master is at d94a46270250454f1fc6c1fb47abfde31a2196c9 but expected dfb79bbc658333d5c9b0427b71f6b1bc48629949
> | From mediawiki::http://localhost/mediawiki
> |  ! dfb79bb...c57c15b master     -> origin/master  (unable to update local ref)
> | error: Could not fetch origin
>
> which means that the transport machinery thought the helper was going
> to be fetching directly to "master".  I suspect you will want a
> 'refspec' capability like
>
>	refspec refs/heads/*:refs/mediawiki/${remotename}/*
>
> to fix this.
>
> Cc-ing Daniel who invented v1.7.0-rc0~62^2~19 (Allow helper to map
> private ref names into normal names, 2009-11-18).  What namespace
> should a helper use when asked to fetch to FETCH_HEAD without a remote
> name, like
>
>	git fetch mediawiki::testwiki
>
> ?

Actually cc-ing this time.  Sorry for the noise.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]