"Shawn O. Pearce" [off-list ref] writes:
quoted hunk
diff --git a/refs.c b/refs.c
index 03aded9..b4ca305 100644
--- a/refs.c
+++ b/refs.c
@@ -742,8 +742,6 @@ int check_ref_format(const char *ref)
return CHECK_REF_FORMAT_ERROR;
if (level < 2)
return CHECK_REF_FORMAT_ONELEVEL;
- if (has_extension(ref, "..lck"))
- return CHECK_REF_FORMAT_ERROR;
return ret;
}
}
NAK, I like how I removed this block. It can't happen anymore,
the no ".." in name earlier should have caught the condition.
Very true. Thanks.