Re: [PATCH] git push --track
- From
Jeff King <peff@peff.net>
- Date
- Jan 14, 2010, 07:16 UTC
- Message-ID
- <20100114071634.GA20567@coredump.intra.peff.net>
- In-Reply-To
- <op.u6haiiiog402ra@nb-04>
On Wed, Jan 13, 2010 at 04:55:20PM +0100, Rudolf Polzer wrote:
Show 5 quoted lines
> >- Should the tracking be set up even if only part of ref update suceeded > >(for those that succeeded), not requiring all to succeed? > > Good point, but I simply see no clean way to set it up for the > succeeded refs. Would be a nice idea for improvement of this.
I don't think it's that hard. In fact, I did a preliminary patch for it about a year ago:
http://article.gmane.org/gmane.comp.version-control.git/107750
That patch was held up because there were a lot of cleanups needed in transport.c before it would make sense (read the whole thread for details). I think most of those cleanups have happened in the meantime, so it would be pretty straightforward to use the same setup_tracking() function and just call it from the right spot in transport.c. But I haven't actually looked at this topic since the above-referenced thread.
-Peff