On Fri, Sep 07, 2007 at 12:36:15PM +0000, Johannes Sixt wrote:
I was about to say the same :)
I'd have added though that maybe update-ref should print a warning for
the references that do not match the restriction Junio added. This could
be done using the function Junio proposed un update_ref() in refs.c
note that it's a sane thing to do anyways, I would not bet a lot of
money on what happens if you ask git to:
git update-ref $foo $sha
for foo in (completely random :P): index config packed-refs ...
If a tool needs a new reference namespace, it can create a
subdirectory under refs/ so it does not really causes harm IMHO.
--=20
=C2=B7O=C2=B7 Pierre Habouzit
=C2=B7=C2=B7O madcoder@debia=
n.org
OOO http://www.madism.org