Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHHUm-0005Ey-0w for pgsql-jdbc@arkaria.postgresql.org; Mon, 20 Jul 2015 20:17:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHHUl-0004eF-40 for pgsql-jdbc@arkaria.postgresql.org; Mon, 20 Jul 2015 20:17:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHHUj-0004dv-CJ for pgsql-jdbc@postgresql.org; Mon, 20 Jul 2015 20:17:01 +0000 Received: from smtprelay02.ispgateway.de ([80.67.18.14]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHHUf-0005V3-MN for pgsql-jdbc@postgresql.org; Mon, 20 Jul 2015 20:16:59 +0000 Received: from [88.66.12.171] (helo=Zauselmaus) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHHUc-0000NI-7p for pgsql-jdbc@postgresql.org; Mon, 20 Jul 2015 22:16:54 +0200 From: "Markus KARG" To: "'List'" References: In-Reply-To: Subject: Re: Git branching structure: ff or no-ff Date: Mon, 20 Jul 2015 22:16:58 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <004c01d0c329$08376d30$18a64790$@eu> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdDDGu3N9xie16/PTtalArC+FmfGGAADZbkg Content-Language: de X-AVK-Virus-Check: AVA 25.2465;479D603D X-AVK-Spam-Check: 1; str=0001.0A0C0202.55AD5736.007D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org I checked the GitHub docs. Unfortunately --no-ff is the default when using = the "Merge" button in the browser and it cannot be changed! To have use fas= t-forward, Dave must always pull the change locally and merge it by hand. So for simplicitly we should live with --no-ff to make Dave's life easier, = but I think it should be common to reduce the number of commits per PR to o= ne per feature/bug covered by the PR. -Markus -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.o= rg] On Behalf Of Vladimir Sitnikov Sent: Montag, 20. Juli 2015 20:35 To: Dave Cramer Cc: List Subject: Re: [JDBC] Git branching structure: ff or no-ff I think we'd better keep existing commits as is otherwise everybody will have problems with on-going pull requests. For new commits I suggest we use certain level of rebasing. I suggest rebasing features on top of master before integration, so the history is linear. What do you think? For instance: commit cddcd185 feat: Improved composite/array type support.= .. git checkout -b tmp cddcd185 # git fetch origin pull/ID/head:BRANCHNAME && git checkout head:BRANCHNAME can be used here to fetch a pull request from github git rebase 008f6e8b2f8d # use rebase -i to squash commits as required. 008f6e8b2f8d was origin/master before cddcd185 merged in git checkout master git merge --ff-only tmp git branch -D tmp # remove branch Vladimir --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc