Re: git push to a non-bare repository

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Theodore Tso <tytso@...>
Cc: Nicolas Pitre <nico@...>, Shawn O. Pearce <spearce@...>, git <git@...>
Date: Monday, March 19, 2007 - 2:44 am

Theodore Tso <tytso@mit.edu> writes:


If we were to do this properly, we probably would need to
restructure the reflog update code for the HEAD in a major way.
"git-update-ref refs/heads/foo $newvalue" when HEAD points at
branch 'foo' currently does not update HEAD reflog because the
current definition of HEAD reflog is (as Nico mentioned) log of
changes made through HEAD symref.  Instead, we would need a
reverse lookup every time any ref is updated to see if that ref
is pointed by any symbolics ref and update the reflogs of those
symbolic refs.  This is expensive to do in general, though,
because there is no backpointer to list of symbolic refs that
point at a non-symbolic ref.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git push to a non-bare repository, Matthieu Moy, (Sun Mar 18, 1:31 pm)
Re: git push to a non-bare repository, Theodore Tso, (Sun Mar 18, 10:00 pm)
Re: git push to a non-bare repository, Matthieu Moy, (Mon Mar 19, 5:19 am)
Re: git push to a non-bare repository, Junio C Hamano, (Sun Mar 18, 9:55 pm)
Re: git push to a non-bare repository, Shawn O. Pearce, (Sun Mar 18, 10:21 pm)
Re: git push to a non-bare repository, Theodore Tso, (Sun Mar 18, 10:47 pm)
Re: git push to a non-bare repository, Shawn O. Pearce, (Sun Mar 18, 10:56 pm)
Re: git push to a non-bare repository, Theodore Tso, (Sun Mar 18, 11:33 pm)
Re: git push to a non-bare repository, Shawn O. Pearce, (Sun Mar 18, 11:47 pm)
Re: git push to a non-bare repository, Junio C Hamano, (Mon Mar 19, 12:14 am)
Re: git push to a non-bare repository, Theodore Tso, (Sun Mar 18, 11:21 pm)
Re: git push to a non-bare repository, Shawn O. Pearce, (Sun Mar 18, 11:53 pm)
Re: git push to a non-bare repository, Sam Vilain, (Mon Mar 19, 7:58 pm)
Re: git push to a non-bare repository, Junio C Hamano, (Mon Mar 19, 8:49 pm)
Re: git push to a non-bare repository, Junio C Hamano, (Mon Mar 19, 8:54 pm)
Re: git push to a non-bare repository, Nicolas Pitre, (Mon Mar 19, 12:08 am)
Re: git push to a non-bare repository, Theodore Tso, (Mon Mar 19, 2:25 am)
Re: git push to a non-bare repository, Nicolas Pitre, (Mon Mar 19, 11:16 am)
Re: git push to a non-bare repository, Junio C Hamano, (Mon Mar 19, 2:44 am)
Re: git push to a non-bare repository, Nicolas Pitre, (Mon Mar 19, 11:20 am)
Re: git push to a non-bare repository, Junio C Hamano, (Sun Mar 18, 3:47 pm)
Re: git push to a non-bare repository, Sam Vilain, (Sun Mar 18, 5:51 pm)
Re: git push to a non-bare repository, Junio C Hamano, (Sun Mar 18, 6:18 pm)