From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Burgess Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Fri, 14 Nov 2014 15:14:34 +0100 Message-ID: <20141114141434.GM3565@embecosm.com> References: <20141114120604.GA3859@acm.acm> <87389mkjwo.fsf@thinkpad-t440p.tsdh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1415974501 32670 80.91.229.3 (14 Nov 2014 14:15:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 14:15:01 +0000 (UTC) To: Alan Mackenzie , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 14 15:14:54 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XpHeG-0001gG-7w for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 15:14:52 +0100 Original-Received: from localhost ([::1]:36718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpHeF-0007B9-PQ for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 09:14:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpHe8-0007AH-1J for emacs-devel@gnu.org; Fri, 14 Nov 2014 09:14:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpHe2-0006qS-Vd for emacs-devel@gnu.org; Fri, 14 Nov 2014 09:14:43 -0500 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:52497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpHe2-0006qJ-Pf for emacs-devel@gnu.org; Fri, 14 Nov 2014 09:14:38 -0500 Original-Received: by mail-wi0-f180.google.com with SMTP id hi2so2781677wib.13 for ; Fri, 14 Nov 2014 06:14:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=dBgwn6BaW8HIkau24vqTXTf01kdXIvEbLbwcUohe4Vw=; b=RMj6C/z4qGj2kWsLnPt0rmSRKA1DRkOm2r1A3dA/W+Df2Ziu1Zip82uk9i6gw7chMz glty3DGMmtEfE2ehJIXUDZgPdM4FB/FUzlNi/o2Fi9CWMUTajD7neYLK0Wnd8phgAxrh GFKAz78VaiqkeAoDHh6JzqQ9SamHBGXqZdolbNmEfHDEwV3dqns7yBo/xInqoeStEDhP T7EgeMoBgvUk786VnDjDRno4miH2ZMuqEciwDBfWNTl0aziGwIkcM0ZWk6DXRyCgTrNQ aOcSvV61wI5/TiARi/Ynv9YVc73H76DPFBMaev8HbFk05qs9AWw/t+vl7s5PADdO9euZ RlpQ== X-Gm-Message-State: ALoCoQl9ZbogEQ7GXi9nFsNrrstM4lAF4QgQi5gao5TebiOprfnFOkkidW7D1yOoYZPEp6V3EXR+ X-Received: by 10.180.82.170 with SMTP id j10mr8047885wiy.35.1415974477433; Fri, 14 Nov 2014 06:14:37 -0800 (PST) Original-Received: from localhost ([62.116.9.99]) by mx.google.com with ESMTPSA id i3sm3623341wix.0.2014.11.14.06.14.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Nov 2014 06:14:36 -0800 (PST) Content-Disposition: inline In-Reply-To: <87389mkjwo.fsf@thinkpad-t440p.tsdh.org> X-Operating-System: Linux/3.16.3-200.fc20.x86_64 (x86_64) X-Uptime: 15:08:09 up 5 days, 2:47, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.180 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177080 Archived-At: * Tassilo Horn [2014-11-14 14:10:15 +0100]: > Alan Mackenzie writes: > > > Then I wanted to list only those those commits in the emacs-24 branch. > > Ha! "git help log" was of no help. It goes into a man page, and > > there is nothing helpful there thus to restrict the display. There > > appears not to be an option such as "-b emacs-24". There is a > > "--branches" option, but what that is supposed to do is completely > > opaque to me. How do I do what I want, here? > > Probably, "git checkout emacs-24 && git log". This is correct, but you can skip the checkout and just do: git log some-branch to get a log of all commits in the local branch 'some-branch'. Alternatively so see what's in the same branch on the remote: git log origin/some-branch this will not include any commits you've made to your local copy of 'some-branch' (and assumes that you're remote is called origin). Another useful feature I use a lot is: git log some-branch -- path/to/a/file this restricts the log to only those commits on 'some-branch' that touch 'path/to/a/file'. HTH Andrew