From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Fri, 14 Nov 2014 22:04:18 +0100 Organization: Organization?!? Message-ID: <87y4rdo5nx.fsf@fencepost.gnu.org> References: <20141114120604.GA3859@acm.acm> <87389mkjwo.fsf@thinkpad-t440p.tsdh.org> <20141114141434.GM3565@embecosm.com> <20141114180521.GA3168@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415999108 21048 80.91.229.3 (14 Nov 2014 21:05:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 21:05:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 14 22:04:59 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 1XpO38-0000a7-Km for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 22:04:58 +0100 Original-Received: from localhost ([::1]:37878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO38-0002XU-7J for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 16:04:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO2s-0002X6-7n for emacs-devel@gnu.org; Fri, 14 Nov 2014 16:04:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpO2n-00005J-49 for emacs-devel@gnu.org; Fri, 14 Nov 2014 16:04:42 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:60157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpO2m-00005D-Ur for emacs-devel@gnu.org; Fri, 14 Nov 2014 16:04:37 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XpO2j-0000NZ-6S for emacs-devel@gnu.org; Fri, 14 Nov 2014 22:04:33 +0100 Original-Received: from x2f520ac.dyn.telefonica.de ([2.245.32.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2014 22:04:33 +0100 Original-Received: from dak by x2f520ac.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Nov 2014 22:04:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f520ac.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:kN9E2oAYDLLSrEGRtVS6RxGNBeg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:177121 Archived-At: Alan Mackenzie writes: > Hello, Andrew. > > Thanks for the answer! > > On Fri, Nov 14, 2014 at 03:14:34PM +0100, Andrew Burgess wrote: >> * 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: > > Thanks! But the log doesn't identify which branch the commits are in. > How do I persuade git log to do this? > > Now, I've discovered I can do > > git log -n5 emacs24 master -- > > and this works, but it doesn't say which commit is in which branch. > YUCK. git log --decorate marks _all_ branch _heads_, git log --source tells through which reference it reached every displayed commit (which does not mean that this would be the only way to reach them). In practice, for multi-branch displays git log --graph is much more helpful. -- David Kastrup