Re: gitweb is no longer a real-time view

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Kevin Grittner <kgrittn(at)mail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: gitweb is no longer a real-time view
Date: 2013-03-04 15:15:26
Message-ID: 20130304151526.GC9507@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Tom Lane wrote:
> Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> > On 2013-03-04 09:40:38 -0500, Tom Lane wrote:
> >> FWIW, I noticed something about a "forced update" when I did a git pull
> >> after Kevin's commits. I failed to pay enough attention though. Now
> >> that I look, the xml fix is not in my local history either, and I don't
> >> know what bc61878682051678ade5f59da7bfd90ab72ce13b is because none of
> >> the recent commits have that hash according to my repo:
>
> > That is/was your map_sql_value_to_xml_value() commit which is now not in
> > the normal history anymore because kevin pushed a HEAD that didn't
> > include it. You should be able to see it with git show
> > bc61878682051678ade5f59da7bfd90ab72ce13b
>
> Ah, right, so it is still there but it's not in the chain leading to
> HEAD. So "forced update" really means "I moved HEAD in a non fast
> forward way"?

Well, to git, "non fast forward" can also mean create a merge commit of
two heads, which isn't very problematic. A forced update might mean
(such as in this case) that one or more commits are left completely
disconnected from history -- that's much worse.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Andres Freund 2013-03-04 15:16:03 Re: gitweb is no longer a real-time view
Previous Message Alvaro Herrera 2013-03-04 15:11:28 Re: gitweb is no longer a real-time view