Re: [PATCH] push: fix local refs update if already up-to-date
- From
Jeff King <peff@peff.net>
- Date
- Nov 5, 2008, 22:44 UTC
- Message-ID
- <20081105224450.GA20440@coredump.intra.peff.net>
- In-Reply-To
- <20081105202849.GA9484@localhost>
On Wed, Nov 05, 2008 at 09:28:49PM +0100, Clemens Buchacher wrote:
> The reason it doesn't work is a bug in lock_ref_sha1_basic(). Dating back to > pre-"pack-refs" times, this code forces a write if the ref file does not > exist. I will resubmit the patch including your above testcase and a bugfix > for lock_ref_sha1_basic().
OK, thanks for looking into it further. Both patches look sane to me.
-Peff