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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html