Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCVp4-0007Gy-DM for pgsql-www@arkaria.postgresql.org; Mon, 04 Mar 2013 13:52:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UCVp3-0006ig-8t for pgsql-www@arkaria.postgresql.org; Mon, 04 Mar 2013 13:52:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCVou-0006bW-6D for pgsql-www@postgresql.org; Mon, 04 Mar 2013 13:52:48 +0000 Received: from nm5.bullet.mail.bf1.yahoo.com ([98.139.212.164]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UCVor-0000oO-5P for pgsql-www@postgresql.org; Mon, 04 Mar 2013 13:52:47 +0000 Received: from [98.139.215.143] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 04 Mar 2013 13:52:42 -0000 Received: from [98.139.212.225] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 04 Mar 2013 13:52:42 -0000 Received: from [127.0.0.1] by omp1034.mail.bf1.yahoo.com with NNFMP; 04 Mar 2013 13:52:42 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 900311.7878.bm@omp1034.mail.bf1.yahoo.com Received: (qmail 83862 invoked by uid 60001); 4 Mar 2013 13:52:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1362405162; bh=x8A9JhcqKoCN1bZ7LnPemQ/W5JDHNto1/lFLRl0qIH0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cBy/DRmDJYeuMAcgwLiq+m/MR5mhtw4RS3rH8SxBOIKVKu3fxQcFE/4FF2FdRRlkOxy7Ce2CkaZ/NVhFOibTBe6uvc6TEJoh+7FuEtlGRx62Pn7zOC1xoqQNHjkAgI6RTwBQRoc5nhEIWZnMUhX1p+8YOz6xVxkdqd+SJDxjrKo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wSAdPGZBujFAIj5EuTXkz6zBag0S1/kqlOKPXB2MDeiA/FgRMNepCcd8zRrEjxbrSvHmiW38TioQbU9uwrFIcTV3M/4aRs+hf20F5SYOQAGuh2M0wyMHQiEiIbogEqWVc9JsiRIzWNuuP55hzWeFzH0Ow0bOXWlDd4qJTUdKfKQ=; X-YMail-OSG: St.swrgVM1nAODlkIA.hTugDGcp6vzrnS8oEa8sV2fD0oCX U5i9K9ObsBbjpRSzM7Zj9PktISZXfKzxckGYJ4wleyD_yA1qfqiFbtAo6IVf CKBOZpy_8bmGdfb0Rw0yElNc2UKbir83Q59wfy8Ax1_BfcxaDZVPBYs0D_2O LpYu753NKLO7JmA32K_JDZnvR9Te8Wz12_F1C1A3XCIUeifFRFCs_75QfxTU LXfHcg9gzxFbTON1JPppshdadWwwOwOyNpACCwQB2Lj6TMK2rbgUrbdTWlvc KIknid9Ie9BCGKOPoigs8qJ4VfySMzdVwyEb4OWt6xM2mdp9F7D8QxWmQfpZ pMcTc4BYkEulADfVJNFemITawf5TFcL2MOpg_Jv987pq_oDGG0CHXgQgyxi4 NM2Bcc0yv7eO6KCbFzqSZtisyq3xdZFyHI7wTm_bTxMq7PcbK6ev8MBwu7Wd v.Dj2AeFtzoB.5LoIBxzW8CD4CnWrmkrNpIzLv2dXlI.YecwOI4rghNrmryt e8i8xFU9k6LczJPHQEoVoMDQ3zBKHConQiiuDPh4E Received: from [76.255.18.237] by web162904.mail.bf1.yahoo.com via HTTP; Mon, 04 Mar 2013 05:52:42 PST X-Rocket-MIMEInfo: 001.001, TWFnbnVzIEhhZ2FuZGVyIDxtYWdudXNAaGFnYW5kZXIubmV0PiB3cm90ZToKCj4gUXVlc3Rpb24gc3RpbGwgcmVtYWlucyBob3cgdGhlbi4KPgo.IE5vcm1hbGx5IGl0IHNob3VsZCwgQUZBSUssIHJlZnVzZSB0byBkbyBzdWNoIGEgcHVzaCB3aXRob3V0IGEgLS1mb3JjZS4KPiBCdXQgYWRtaXR0ZWRseSwgSSBkb24ndCBrbm93IGZvciBzdXJlIGV4YWN0bHkgaG93IHRob3NlIG1vcmUgY29tcGxleAo.IHNldHVwcyB3b3JrLgo.Cj4gRG8geW91IGJ5IGFueSBjaGFuY2UgaGF2ZSBhbnkgb3RoZXIgZ2l0IHNldHQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.135.514 References: <19759.1362357835@sss.pgh.pa.us> <20130304020324.GE16142@tamriel.snowman.net> <2480.1362363162@sss.pgh.pa.us> <20130304023335.GH16142@tamriel.snowman.net> <1362402660.43431.YahooMailNeo@web162901.mail.bf1.yahoo.com> Message-ID: <1362405162.66623.YahooMailNeo@web162904.mail.bf1.yahoo.com> Date: Mon, 4 Mar 2013 05:52:42 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: gitweb is no longer a real-time view To: Magnus Hagander Cc: Tom Lane , Peter Eisentraut , PostgreSQL WWW , Stephen Frost In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org Magnus Hagander wrote: > Question still remains how then. > > Normally it should, AFAIK, refuse to do such a push without a --force. > But admittedly, I don't know for sure exactly how those more complex > setups work. > > Do you by any chance have any other git settings either in your local > or in the repository config? > > Also, can someone who knows how that stuff is set up, explain why it's > pushing anonymous/master in this case? Seems like it should just push > the actual branch, no? Are those instructions for usage wrong? > > >> kgrittn@Kevin-Desktop:~/pg/postgresql.git$ git remote --verbose >> origin=A0 ssh://git@gitmaster.postgresql.org/postgresql.git (fetch) >> origin=A0 ssh://git@gitmaster.postgresql.org/postgresql.git (push) >> kgrittn@Kevin-Desktop:~/pg/postgresql.git$ cd ../master >> kgrittn@Kevin-Desktop:~/pg/master$ pull >> remote: Counting objects: 31, done. >> remote: Compressing objects: 100% (16/16), done. >> remote: Total 16 (delta 15), reused 0 (delta 0) >> Unpacking objects: 100% (16/16), done. >> From /home/kgrittn/pg/postgresql >>=A0=A0 + 3a21ef1...b15a6da master=A0=A0=A0 -> origin/master=A0 (forced up= date) > > ^^ there's another forced update. Which seems to indicate that your > git is doing forced updates by default in both directions. > > I have no idea how it would do that by default - I've always received > an error when accidentally doing something like that... Are there any files to look at besides these?: kgrittn@Kevin-Desktop:~/pg/master$ cat ~/.gitconfig [user] =A0=A0=A0=A0=A0=A0=A0 name =3D Kevin Grittner =A0=A0=A0=A0=A0=A0=A0 email =3D kgrittn@postgresql.org [core] =A0=A0=A0=A0=A0=A0=A0 excludesfile =3D /home/kgrittn/.gitexcludesfile =A0=A0=A0=A0=A0=A0=A0 pager =3D less -x4 =A0=A0=A0 editor =3D vim kgrittn@Kevin-Desktop:~/pg/master$ cat .git/config [core] =A0=A0=A0=A0=A0=A0=A0 repositoryformatversion =3D 0 =A0=A0=A0=A0=A0=A0=A0 filemode =3D true =A0=A0=A0=A0=A0=A0=A0 bare =3D false =A0=A0=A0=A0=A0=A0=A0 logallrefupdates =3D true [remote "origin"] =A0=A0=A0=A0=A0=A0=A0 fetch =3D +refs/heads/master:refs/remotes/origin/mast= er =A0=A0=A0=A0=A0=A0=A0 url =3D /home/kgrittn/pg/postgresql [branch "master"] =A0=A0=A0=A0=A0=A0=A0 remote =3D origin =A0=A0=A0=A0=A0=A0=A0 merge =3D refs/heads/master =A0=A0=A0=A0=A0=A0=A0 rebase =3D true [remote "github"] =A0=A0=A0=A0=A0=A0=A0 url =3D git@github.com:kgrittn/postgres.git =A0=A0=A0=A0=A0=A0=A0 fetch =3D +refs/heads/*:refs/remotes/github/* kgrittn@Kevin-Desktop:~/pg/master$ cat ../postgresql.git/config [core] =A0=A0=A0=A0=A0=A0=A0 repositoryformatversion =3D 0 =A0=A0=A0=A0=A0=A0=A0 filemode =3D true =A0=A0=A0=A0=A0=A0=A0 bare =3D true [remote "origin"] =A0=A0=A0=A0=A0=A0=A0 fetch =3D +refs/*:refs/* =A0=A0=A0=A0=A0=A0=A0 mirror =3D true =A0=A0=A0=A0=A0=A0=A0 url =3D ssh://git@gitmaster.postgresql.org/postgresql= .git The rebase option was something I did because the Wiki instructions told me to: http://wiki.postgresql.org/wiki/Committing_with_Git#Dependent_Clone_per_Bra= nch.2C_Pushing_and_Pulling_From_a_Local_Repository =A0 I don't think there is anything there which wasn't done per instructions, but maybe the Wiki needs a fix? --=20 Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-www mailing list (pgsql-www@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-www