From: Ramkumar Ramachandra Date: Fri, 24 May 2013 06:39:49 GMT Subject: Re: Random thoughts on "upstream" Message-ID: In-Reply-To: Ramkumar Ramachandra wrote: > you'd essentially have to grab the remote..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)