Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107339 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 25983 invoked from network); 27 Sep 2019 11:46:12 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 27 Sep 2019 11:46:12 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 1D5062D2118 for ; Fri, 27 Sep 2019 02:25:49 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Virus: No Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Fri, 27 Sep 2019 02:25:48 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id u8so14546192iom.5 for ; Fri, 27 Sep 2019 02:25:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=syy3zUOPcoBglLjsIiuXr1kBlq1+zFNsiR/jtKkAyLk=; b=NPZYbUiZtnmfqJCj3nAjWPrVhs1Q7VzspC6Zw8CN/I5eiNIQGHu74gJlmGNDCHSARR J+HWcv8lN5JClkyrvkl/2LYxqSQkY5L2gvuxqZUjxTZ2tgdhfhePmJ+mX4QYeg5qWz31 MKDVVcyKzB5IILeQ78k5aMCUUQ748+Hb2uX2nfDLH6WAeordRooNZQDC4KSJ47Q1si4W CiadPxTPcHkXlUU8lOIVshhH4Dcee/a9oA5R20LMha7agu+RYw4JYyVo0UEe7SVY7q/R hfdGT81x26gdwuD5z6Od25AIlxlh97pZUSh9tj6AZgrwLz4xVJNUojXGO1VXXU1RjiIF edjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=syy3zUOPcoBglLjsIiuXr1kBlq1+zFNsiR/jtKkAyLk=; b=OeUNcMner79bTXuji6noaLaTdwGkAizHlx2EkEcsJH8vH+apbXJUjky+qvCOKj21Lo J7G+355PfnghXzB4EjR0yEL75ogbCJIYmit4x3PC0rFCyI2CU5uC62TrOX8a2nhkjSYA I35c/nRQPF5VTxBjBHznzaXHInAPXfKhRmVdD3YOIhVcpM6JGmFUV3W5sFN6981YNGzH BcnBEL9TFSu3Y8jUkLwtK0tvaG8BlkihQi3ptWtVU5IiT87hjZiQDSBdeght0kLwL2VV DIvspzZmJTG9qRa4HbqPjDNjZqy7qddwwlZNogpeJRT50hFCy7aHaNf9pPV6hwoOAqC4 40zw== X-Gm-Message-State: APjAAAWe5R0YWVigBe2/nGcXQVoUNt+YKUeCetoLrg4HwLV9ZQW8HY2D 2uAehDWQ53h6h8UBrrRVNSaKVfE4uTCkh1ePnzw= X-Google-Smtp-Source: APXvYqxXYZGjZumASOjqLvZqBO1ZSM2e4qfoZ4Elfj1uaZHn5MpgoixTbXVvbJFeTtBN45DhTugaMOAGHkYyuy408ts= X-Received: by 2002:a92:5b4d:: with SMTP id p74mr3669014ilb.66.1569576347149; Fri, 27 Sep 2019 02:25:47 -0700 (PDT) MIME-Version: 1.0 References: <44818c1e-07e4-19d5-2ef5-144ccb2b5c05@gmx.de> <3628f06b-3c07-6a82-0aee-6a927c21a44d@gmx.de> <8cb2f498-6627-a412-ec65-dea8275c3199@gmx.de> In-Reply-To: <8cb2f498-6627-a412-ec65-dea8275c3199@gmx.de> Date: Fri, 27 Sep 2019 12:25:30 +0300 Message-ID: To: "Christoph M. Becker" Cc: Nikita Popov , "guilhermeblanco@gmail.com" , PHP internals Content-Type: multipart/alternative; boundary="0000000000009eabb40593857855" X-Envelope-From: Subject: Re: [PHP-DEV] Re: Question about merged PR #937 From: drealecs@gmail.com (=?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?=) --0000000000009eabb40593857855 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Christoph, The method you described looks great. Squashing with rebase interactive works fine, with choosing what commits to keep and what commits to squash into the kept ones. This can be done by merger or author. Merging a pull request with squashing in github will set the author's commit to the person who merge it. The same things happens with *git merge --squash * If you agree, what would be the best way to propagate this information so that everyone use this method, when squashing is needed? Regards, Alex On Sun, Sep 22, 2019 at 3:03 PM Christoph M. Becker wrote: > On 20.09.2019 at 12:59, Alexandru P=C4=83tr=C4=83nescu wrote: > > > Can you let us know what you used as it's doing the job well :) > > CLI git merge or another UI; which one? > > I'm usually using TortoiseGit, but basically I'm doing > > git rebase -i HEAD~ > > > I'm also curious what will happen if there would be two authors on the > same > > branch/pull request. > > Is it interactive or pre-configured to use author of the first commit, > last > > commit, most of the commits? > > In this case I likely would not squash commits of different authors. An > alternative would be to append the following to the commit message: > > Co-authored-by: name > > -- > Christoph M. Becker > --0000000000009eabb40593857855--