Re: Random thoughts on "upstream"
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 24, 2013, 06:39 UTC
- Message-ID
- <CALkWK0nGhYYvHA4-nEtfCvRV3UyA2u28LJoX=GhxbmtRW1mMvA@mail.gmail.com>
- In-Reply-To
- <CALkWK0n+_QqavstRCt8zM5ahmu9jnKB4M4XwdtqB4qSsJgq=hQ@mail.gmail.com>
Ramkumar Ramachandra wrote:
> you'd essentially have to grab the remote.<name>.push refspec, rewrite > it to replace refs/heads/*: with $HEAD: and feed that refspec to the > transport layer
Um, sorry. It involves two independent steps:
1. add_refspec() $HEAD:$HEAD@{push} to feed to the transport layer.
(@{push} is already in progress; see list)2. Forcing the transport layer to ignore remote->push and use the fed refspec instead. (I'm not sure how to do this yet)