Force writing ref if it doesn't exist.
commit732232a123e1e61e38babb1c572722bb8a189ba3
authorShawn Pearce <spearce@spearce.org>
Fri, 19 May 2006 07:29:05 +0000 (19 03:29 -0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 19 May 2006 22:02:43 +0000 (19 15:02 -0700)
tree55a57e1e2c532d3724b32b81e40aa1c818b80458
parentc22a7f0fb96d5c742581422452d3d68139b79ad6
Force writing ref if it doesn't exist.

Normally we try to skip writing a ref if its value hasn't changed
but in the special case that the ref doesn't exist but the new
value is going to be 0{40} then force writing the ref anyway.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c
refs.h