lock_ref_sha1(): check D/F conflict with packed ref when creating.
authorJunio C Hamano <junkio@cox.net>
Sat, 30 Sep 2006 21:19:25 +0000 (14:19 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 30 Sep 2006 22:07:58 +0000 (15:07 -0700)
commit22a3844ebada55c207e2b85fb68509a7c9e2b5f0
tree8db48be91749565d184b16b4e36ab5d1828e73f1
parent5cc3cef997503e7543d927dbe23daca891131168
lock_ref_sha1(): check D/F conflict with packed ref when creating.

This makes the ref locking codepath to notice if an existing ref
overlaps with the ref we are creating.

Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c