From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#43725: 28.0.50; Include feature/native-comp into master Date: Thu, 01 Oct 2020 13:40:27 +0000 Message-ID: References: <87d02318fl.fsf@gnus.org> <878scqwwyw.fsf@gnus.org> <83r1qigkcu.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36134"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, 43725@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 15:41:45 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNyq9-0009Jw-78 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 15:41:45 +0200 Original-Received: from localhost ([::1]:58380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNyq8-0007uh-1r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 09:41:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNypS-0007sM-Ua for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNypS-0001yW-K0 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNypS-0001fS-Bd for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 09:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43725 X-GNU-PR-Package: emacs Original-Received: via spool by 43725-submit@debbugs.gnu.org id=B43725.16015596316363 (code B ref 43725); Thu, 01 Oct 2020 13:41:02 +0000 Original-Received: (at 43725) by debbugs.gnu.org; 1 Oct 2020 13:40:31 +0000 Original-Received: from localhost ([127.0.0.1]:34853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyox-0001eY-CU for submit@debbugs.gnu.org; Thu, 01 Oct 2020 09:40:31 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:63575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNyou-0001eO-2Z for 43725@debbugs.gnu.org; Thu, 01 Oct 2020 09:40:30 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 091DeRU4018187; Thu, 1 Oct 2020 13:40:27 GMT In-Reply-To: <83r1qigkcu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Oct 2020 16:13:21 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189518 Archived-At: Eli Zaretskii writes: >> Cc: 43725@debbugs.gnu.org >> Date: Thu, 01 Oct 2020 07:51:16 +0000 >> From: Andrea Corallo via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> > git diff origin/feature/native-comp..origin/master >> > >> > ? >> >> I think something like this would add into the diff all new commits that >> where pushed to master. >> >> One option is to do the same but against the last commit from master >> included into the branch (it's easy to identify as just under the last >> merge). ATM would be: >> >> git diff 6c0f1c26d2...origin/feature/native-comp > > I suggest this: > > git diff ...origin/feature/native-comp > > That's how I always produce changes introduced by a branch that > diverged from the current branch. Wow that's very handy thanks. Expanding what you have posted this should work regardless what is the current checkouted branch: git diff $(git merge-base origin/master origin/feature/native-comp)..origin/feature/native-comp