From: Daniel Barkalow Date: Sat, 17 Nov 2007 18:05:32 GMT Subject: Re: [PATCH 2/3] send-pack: check ref->status before updating tracking refs Message-ID: In-Reply-To: <20071117125515.GB23186@sigill.intra.peff.net> On Sat, 17 Nov 2007, Jeff King wrote: > Previously, we manually checked the 'NONE' and 'UPTODATE' > conditions. Now that we have ref->status, we can easily > say "only update if we pushed successfully". > > This adds a test for and fixes a regression introduced in > ed31df31 where deleted refs did not have their tracking > branches removed. This was due to a bogus per-ref error test > that is superseded by the more accurate ref->status flag. > > Signed-off-by: Jeff King Acked-by: Daniel Barkalow -Daniel *This .sig left intentionally blank*