login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Sixt <j.sixt@...>
Cc: Junio C Hamano <gitster@...>, Keith Packard <keithp@...>, Git Mailing List <git@...>
Date: Friday, September 7, 2007 - 8: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, 5:48 pm)
Re: rebase from ambiguous ref discards changes, Junio C Hamano, (Thu Sep 6, 7:26 pm)
Re: rebase from ambiguous ref discards changes, Keith Packard, (Thu Sep 6, 10:58 pm)
Re: [PATCH] HEAD, ORIG_HEAD and FETCH_HEAD are really special., Pierre Habouzit, (Fri Sep 7, 8:42 am)
Re: rebase from ambiguous ref discards changes, Pierre Habouzit, (Fri Sep 7, 2:55 am)
Re: rebase from ambiguous ref discards changes, Pierre Habouzit, (Thu Sep 6, 6:37 pm)
speck-geostationary