From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Fri, 14 Nov 2014 13:41:56 -0700 Message-ID: References: <20141114120604.GA3859@acm.acm> <87389mkjwo.fsf@thinkpad-t440p.tsdh.org> <20141114141434.GM3565@embecosm.com> <20141114180521.GA3168@acm.acm> <87h9y1mwxl.fsf@igel.home> <20141114200957.GC3168@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a8238ed6ca80507d7a88c X-Trace: ger.gmane.org 1415997732 31516 80.91.229.3 (14 Nov 2014 20:42:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 20:42:12 +0000 (UTC) Cc: Andreas Schwab , Andrew Burgess , Emacs development discussions To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 14 21:42:05 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 1XpNgz-000664-2F for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 21:42:05 +0100 Original-Received: from localhost ([::1]:37803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpNgy-0003Tn-NA for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 15:42:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpNgu-0003RO-8J for emacs-devel@gnu.org; Fri, 14 Nov 2014 15:42:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpNgt-0001Il-BG for emacs-devel@gnu.org; Fri, 14 Nov 2014 15:42:00 -0500 Original-Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:65311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpNgt-0001I2-0f for emacs-devel@gnu.org; Fri, 14 Nov 2014 15:41:59 -0500 Original-Received: by mail-la0-f52.google.com with SMTP id pv20so15348907lab.25 for ; Fri, 14 Nov 2014 12:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tCJ9mLTDO+ARvZ8XyRp/DWuZ741tEq2nYH6BiQ7849Y=; b=gkRpR2nIEeuMDUkSJtmVbbbzQiN5CXd7weGupk3Kb77XhwV0EylWoPq4WEHNbCtgXV lfokJnhg+Os5KTMKWdv2DME7uBKbMkik+l6KSL35cw1kU0LrciDmT3RjFq5czO5MBT3G epC3fn3ZWX0YVMISAwxDGlIo2o3ugp0BakD/CzgWfjveGRcK8RUHkjCLrx0UBl4MqZXb OAarWZyFKNnBDqA/n44RMGoDBLd+EftfiPeGEHVuxAULOQDvfRNslhcEDpHTLwxTWWwX 5flCUhDvapurCJNove36BZLqvtoFTCuCaHmUszmUKBoryRFYUSbwSNwjGnWAcUhjoYvF LKfg== X-Received: by 10.112.132.34 with SMTP id or2mr4477945lbb.75.1415997717046; Fri, 14 Nov 2014 12:41:57 -0800 (PST) Original-Received: by 10.152.113.4 with HTTP; Fri, 14 Nov 2014 12:41:56 -0800 (PST) In-Reply-To: <20141114200957.GC3168@acm.acm> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::234 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:177111 Archived-At: --047d7b3a8238ed6ca80507d7a88c Content-Type: text/plain; charset=UTF-8 I have this in my ~/.gitconfig file (global system configuration): [alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative That gives me a prettiER (more useful) view of the log with 'git lg'. On Fri, Nov 14, 2014 at 1:09 PM, Alan Mackenzie wrote: > Hello, Andreas. > > On Fri, Nov 14, 2014 at 07:58:14PM +0100, Andreas Schwab wrote: > > Alan Mackenzie writes: > > > > Thanks! But the log doesn't identify which branch the commits are in. > > > How do I persuade git log to do this? > > > git log --decorate > > This doesn't work very well. It prints out the information for the first > commit that is displayed, but no more. This feels like a git bug. > > > (permanently: git config [--global] log.decorate true) > > > Andreas. > > > -- > > Andreas Schwab, schwab@linux-m68k.org > > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > > "And now for something completely different." > > -- > Alan Mackenzie (Nuremberg, Germany). > > --047d7b3a8238ed6ca80507d7a88c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have this in my ~/.gitconfig file (global system configu= ration):

[alias]
    lg =3D log --graph --pretty=3Dformat:'%Cred%h%Creset -%C(yellow)%d%=
Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit=
 --date=3Drelative

That gives me a prettiER (more useful) view of the log with =
9;git lg'.
On Fri, Nov 14, 2014 at 1:09 PM, Alan Mackenzi= e <acm= @muc.de> wrote:
Hello, Andr= eas.

On Fri, Nov 14, 2014 at 07:58:14PM +0100, Andreas Schwab wrote:
> Alan Mackenzie <acm@muc.de> wr= ites:

> > Thanks!=C2=A0 But the log doesn't identify which branch the c= ommits are in.
> > How do I persuade git log to do this?

> git log --decorate

This doesn't work very well.=C2=A0 It prints out the information for th= e first
commit that is displayed, but no more.=C2=A0 This feels like a git bug.

> (permanently: git config [--global] log.decorate true)

> Andreas.

> --
> Andreas Schwab, schwab@linux-= m68k.org
> GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756=C2=A0 01D3 44D5 214B = 8276 4ED5
> "And now for something completely different."

--
Alan Mackenzie (Nuremberg, Germany).


--047d7b3a8238ed6ca80507d7a88c--