From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.devel Subject: Re: How to get the list of commits which is included in master but not in emacs-26? Date: Tue, 20 Mar 2018 21:53:28 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1521607937 28350 195.159.176.226 (21 Mar 2018 04:52:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 04:52:17 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: zhang cc Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 21 05:52:12 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyVjP-0007DV-NJ for ged-emacs-devel@m.gmane.org; Wed, 21 Mar 2018 05:52:11 +0100 Original-Received: from localhost ([::1]:52898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyVlR-0007e3-8J for ged-emacs-devel@m.gmane.org; Wed, 21 Mar 2018 00:54:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyVlL-0007cv-K9 for emacs-devel@gnu.org; Wed, 21 Mar 2018 00:54:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyVlK-0005Lc-Ur for emacs-devel@gnu.org; Wed, 21 Mar 2018 00:54:11 -0400 Original-Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:46894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyVlK-0005LC-O2 for emacs-devel@gnu.org; Wed, 21 Mar 2018 00:54:10 -0400 Original-Received: by mail-lf0-x235.google.com with SMTP id j68-v6so5898613lfg.13 for ; Tue, 20 Mar 2018 21:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=daETl+p/OzH3xoxU3858CAWn5rocMcVb4ZHMLfLI/oM=; b=Ya2owc1tdCWA8vJWuFlPoqgiaYGvvSewIiU3yL4R4V9hT/JrQjJC9/Tu4I8EzNiqFv lUjbd5zOSAMJYYgODaLG0gC0NaGogey5tLQSBmdoka3xZovhVymJdoCnmH+r7cITai0i qmNNO7a38X8NasDUaK9x6iSrlnyGKWBiK7Ci+Zy+ldM0FZPhEA+9uZDrZGtI6IMVLYvd udx3+Ph+60cu8V1RY3zjvVTtBIPvbZDztkQKh66b4tuMok7Y/t3yjhRhdPbGnp3zqzFK 7MT8/P6xM/DOzPE+CAPrlnKwOLu2Wh1f6EcGxHvk2Zh39bHMDB+xavpZfGKLIcj3SSJv rBvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=daETl+p/OzH3xoxU3858CAWn5rocMcVb4ZHMLfLI/oM=; b=sD3cBPcMsjX/glhqjZ5nxF0tR7KuUgEV0pQXuMAOTMTnUnwKfM23/Wo1Gc4RK9E6OS j9ZeKqGodAdCdT9Q7/pvRgt6TED2Bv80fJbB3T8KC0OCjzjsWdj0le721rXXSTVurJQA YrzUzKl9uePs4SSym79qOs9HqFcB+09W/CfLStuq7irQWNFa4MIRx8c/VtOlX8CLjLQD ZMUYNF+2noyc9/t+anGoGIlqv1O49ev05pkBGBFHQo761mne+DwUdguea5hF/T8heL88 lm+nu0k1DhqH4Qg7hVaT+A7AQGO6F+HwUGYlxwIJBfEFQgGJyuZrp1o2C3F26Cw53L13 wGUA== X-Gm-Message-State: AElRT7FaBxTn2DISyVJTPM6MVxao5CEXPk2R5rNRH5KGcw4PmZgoWdxf 24qzeIOaq+TWKHYxFTAwVVJIGrOsqiLC6FUYD44= X-Google-Smtp-Source: AG47ELtscOamdCz2by5xVpwTaPR87DdWe7tP1YgpeVwnasXJFEKn1HU6hut2Hxt0NDUiSJulneEP3sMrajXL7E7BQHc= X-Received: by 10.46.1.213 with SMTP id f82mr2053136lji.35.1521608049323; Tue, 20 Mar 2018 21:54:09 -0700 (PDT) Original-Received: by 2002:a19:6514:0:0:0:0:0 with HTTP; Tue, 20 Mar 2018 21:53:28 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:223871 Archived-At: > How to get the list of commits which is included in master but not > in emacs-26? Is there a git command or a tool can output such a > list? You want a list of commits, so refer to the manual page for git-log(1). It says The command takes options applicable to the git rev-list command to control what is shown and how so checking the "description" section of git-rev-list(1), we find List commits that are reachable by following the parent links from the given commit(s), but exclude commits that are reachable from the one(s) given with a ^ in front of them. and further, A special notation ".." can be used as a short-hand for "^'' ". The answer to your question is therefore $ git log emacs-26..master