author | Shawn Pearce <spearce@spearce.org> | |
Fri, 19 May 2006 09:15:28 +0000 (05:15 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 19 May 2006 22:02:59 +0000 (15:02 -0700) | ||
commit | 8fe92775f38621f2855fb94e404b9798cdcd98cc | |
tree | e4282f353528dc708257f9c162dfb2b0f4622ad4 | tree | snapshot |
parent | cce91a2caef9296bd4a69e51e48f1d679935d868 | commit | diff |
Correct force_write bug in refs.c
My earlier attempt at forcing a write for non-existant refs worked;
it forced a write for pretty much all refs. This corrects the
condition to only force a write for refs which don't exist yet.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
My earlier attempt at forcing a write for non-existant refs worked;
it forced a write for pretty much all refs. This corrects the
condition to only force a write for refs which don't exist yet.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |