Re: [PATCH] HEAD, ORIG_HEAD and FETCH_HEAD are really special.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pierre Habouzit
Date: Friday, September 7, 2007 - 5:42 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
rebase from ambiguous ref discards changes, Keith Packard, (Thu Sep 6, 2:48 pm)
Re: rebase from ambiguous ref discards changes, Pierre Habouzit, (Thu Sep 6, 3:37 pm)
Re: rebase from ambiguous ref discards changes, Junio C Hamano, (Thu Sep 6, 4:26 pm)
Re: rebase from ambiguous ref discards changes, Keith Packard, (Thu Sep 6, 7:58 pm)
Re: rebase from ambiguous ref discards changes, Pierre Habouzit, (Thu Sep 6, 11:55 pm)
Re: [PATCH] HEAD, ORIG_HEAD and FETCH_HEAD are really special., Pierre Habouzit, (Fri Sep 7, 5:42 am)