Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X04qx-0000QV-LD for pgsql-odbc@arkaria.postgresql.org; Thu, 26 Jun 2014 08:16:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X04qw-0003au-Lp for pgsql-odbc@arkaria.postgresql.org; Thu, 26 Jun 2014 08:16:18 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X04qv-0003ao-UT for pgsql-odbc@postgresql.org; Thu, 26 Jun 2014 08:16:18 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X04qo-0000Rr-2i for pgsql-odbc@postgresql.org; Thu, 26 Jun 2014 08:16:16 +0000 Received: from ayaki.localdomain (106-69-71-247.dyn.iinet.net.au [106.69.71.247]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0MZDuG-1XGVlw0mpo-00Ky8r; Thu, 26 Jun 2014 10:16:06 +0200 Message-ID: <53ABD6BF.7000102@2ndquadrant.com> Date: Thu, 26 Jun 2014 16:15:59 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Heikki Linnakangas , "Inoue, Hiroshi" CC: "pgsql-odbc@postgresql.org" Subject: Re: Git history author/committer fields (was Re: msdtc with 32-bit app fails to resolve in-doubt or not-notifed transactions) References: <53A45B59.70303@2ndquadrant.com> <53A4A8FE.6010901@tpf.co.jp> <53A50F8E.3090109@2ndquadrant.com> <53A53BF9.1020603@2ndquadrant.com> <53A7762E.10705@tpf.co.jp> <53A781AE.6020009@2ndquadrant.com> <53A89AC5.4010004@tpf.co.jp> <53A8EB74.5040806@2ndquadrant.com> <53AADC07.3090206@2ndquadrant.com> <53ABD08C.3000403@vmware.com> In-Reply-To: <53ABD08C.3000403@vmware.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:tyE2Z2iyQJeJ0+M+H2uz6hDrMAYDEWT5f+Jhvqz8Ay9 VlztQnMBqBJprBU2GuwanYook8/dGum7tDm5drMQH69adNsFon xpOUMECx6d2F/CKSmWMUM6+G8UIPPqiXb8uR1D18HRiurLDgeV 4FsUEbzz7mJAFLabFWx/0BcxtPm9nx8RIkcNPfd4dUDQhePo5M 1QqG2rtXmIVrmy5ZRVRljdLRoe1kweQ2+OP+QK9QXh5sat1SfN 0Gzrlbw1RqiwYNd5IDPK/m0tHm1LUd//03/+0OuN/qm+Wc8sTA xETBVkoBGgOwErzPFweOdX8jzfwUHFqvjtnt+Ph0UuEh/fnRR0 rUzIyW+FO96nCfT/6nxcxj7bMil32F6FB1j5+yUsj X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/26/2014 03:49 PM, Heikki Linnakangas wrote: > On 06/25/2014 05:26 PM, Craig Ringer wrote: >> Please merge branch fix-syswow64-msdtc from my repo at >> https://github.com/ringerc/psqlODBC.git . > > Oh, and while you do that, please avoid creating a merge commit. I hate > those merge commits when I browse the git history, they're just useless > noise. Please use "git rebase" to clean up the history in your local > repository first. You can use "git push --dry-run" before the actual > push to see what will be done. It will print the commit IDs that it > would push, something like this: > > a87a7dc..de42ed4 master -> origin/master > > You can then do "git log a87a7dc..de42ed4" to see those commits. I usually do a rebase to current master before pushing a feature branch and requesting a merge. I'm surprised a merge commit was created - someone must've committed other things between when I pushed and when it was merged. There was a lot happening around then. The committer may just: git merge --ff-only to reject commits that aren't simply fast-forwards. Or, as rebase merges are usually trivial, they can: git checkout theremote/thebranch git checkout -b thebranch git rebase master git checkout master git merge --ff-only - which will just rebase on top and merge. > Also, it would be good to reset the author/committer information in the > commit before pushing. Looking at the git history the other day, I was > quite surprised to see commits from Craig, as I didn't know he's a > psqlodbc committer. Heh. Soon I shall have commit to all the drivers, then my evil plans will finally be put in motion! > That's what we do with the PostgreSQL main repository, anyway. We could > also decide to use the git's Author field to track the original author, > but at least the Committer field should reflect the actual psqlodbc > committer. I'm not sure how to change that without changing the Author > field, though. I had a quick look without seeing anything. The two fields must exist separately for some reason, though. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc