Re: [PATCH] git push --track
From: Jeff King <hidden>
Date: 2016-06-15 22:48:01
On Wed, Jan 13, 2010 at 04:55:20PM +0100, Rudolf Polzer wrote:
quoted
- 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