From: Jeff King Date: Tue, 07 May 2013 02:54:58 GMT Subject: [PATCH 0/2] peel_ref cleanups changes Message-ID: <20130507025458.GA22912@sigill.intra.peff.net> In-Reply-To: <20130507024313.GC22940@sigill.intra.peff.net> On Mon, May 06, 2013 at 10:43:13PM -0400, Jeff King wrote: > I hooked the refreshing into get_packed_refs, since then all callers get > it for free. It makes me a little nervous, though, just in case some > caller really cares about calling get_packed_refs but not having the > list of packed-refs change during the call. peel_ref looks like such a > function, but isn't, for reasons I'll explain in a followup patch. I thought I would need the cleanups below for peel_ref, but it turns out that the middle chunk of the function is never exercised. They conflict textually with Michael's mh/packed-refs-various topic, so I think it may make sense to just rebase them on top of that. [1/2]: peel_ref: rename "sha1" argument to "peeled" [2/2]: peel_ref: refactor for safety with simultaneous update -Peff