Re: gitweb is no longer a real-time view - Mailing list pgsql-www

From Andres Freund
Subject Re: gitweb is no longer a real-time view
Date
Msg-id 20130304151709.GM3943@awork2.anarazel.de
Whole thread Raw
In response to Re: gitweb is no longer a real-time view  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-www
On 2013-03-04 12:15:26 -0300, Alvaro Herrera wrote:
> Tom Lane wrote:
> > Andres Freund <andres@2ndquadrant.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



pgsql-www by date:

Previous
From: Andres Freund
Date:
Subject: Re: gitweb is no longer a real-time view
Next
From: Tom Lane
Date:
Subject: Re: gitweb is no longer a real-time view