Re: gitweb is no longer a real-time view

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:17:09
Message-ID: 20130304151709.GM3943@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On 2013-03-04 12:15:26 -0300, Alvaro Herrera wrote:
> 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.

Well, but thats during pulling/merging and not during pushing. The
latter doesn't do any merges.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2013-03-04 15:17:30 Re: gitweb is no longer a real-time view
Previous Message Andres Freund 2013-03-04 15:16:03 Re: gitweb is no longer a real-time view