From: Ian Campbell Subject: Re: Moving xen*.hg to git Date: Thu, 21 Feb 2013 15:18:47 +0000 Message-ID: <1361459927.26546.59.camel@zakaz.uk.xensource.com> References: <20763.51353.91324.851766@mariner.uk.xensource.com> <20772.60284.798388.635292@mariner.uk.xensource.com> <5126437D02000078000C0006@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5126437D02000078000C0006@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Anthony Perard , "Tim (Xen.org)" , "Keir (Xen.org)" , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2013-02-21 at 14:55 +0000, Jan Beulich wrote: > >>> On 20.02.13 at 16:27, Ian Jackson wrote: > > If any committer needs help getting git to work please feel free to > > ask. git has many advantages but its user interface has received very > > mixed reviews. We appreciate that you might need handholding. So if > > you get confused, or into trouble, do consult. > > So one thing I found very handy with hg was that there was a > single line history with easy to look at changeset numbers. Is there > any way to achieve the same with git? I'm asking particularly in the > context of backporting: In order to pick changes from unstable (now > master), so far I simply scanned the history, tracking (on a sheet of > paper) at which c/s I last left off. Something like git log --oneline? You can also git log --pretty=format:%... Where there are various available %foo described in the manpage. git doesn't really have a concept of the shorter sequential numbers which mercurial has. The closest I can think of is the sort of thing which git describe outputs. Ian.