Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757054AbbDWN0n (ORCPT ); Thu, 23 Apr 2015 09:26:43 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:36071 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756301AbbDWN0l (ORCPT ); Thu, 23 Apr 2015 09:26:41 -0400 Date: Thu, 23 Apr 2015 08:26:37 -0500 From: Bjorn Helgaas To: Ricardo Ribalda Delgado Cc: Greg Kroah-Hartman , Grant Likely , Rob Herring , Andrew Morton , Jakub Sitnicki , Vivek Goyal , Jiang Liu , Mike Travis , Thierry Reding , LKML , "devicetree@vger.kernel.org" Subject: Re: [PATCH v3 3/4] base/platform: Continue on insert_resource() error Message-ID: <20150423132637.GK20701@google.com> References: <1429719261-18024-1-git-send-email-ricardo.ribalda@gmail.com> <1429719261-18024-4-git-send-email-ricardo.ribalda@gmail.com> <20150422164457.GI20701@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 22 On Thu, Apr 23, 2015 at 09:55:13AM +0200, Ricardo Ribalda Delgado wrote: > Hi Bjorn: > > On Wed, Apr 22, 2015 at 6:44 PM, Bjorn Helgaas wrote: > > > Usual style for referencing a commit is "(see 02bbde7849e6 ('Revert "of: > > use platform_device_add"'))". > > Do you make that reference manually or there is a magic git command > for printing it in that style? I used to do it mostly by hand, but thanks to your prompting, I fiddled around and came up with this alias: gsr is aliased to `git show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n"' Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/