From: Johannes Sixt Date: Mon, 12 Nov 2007 16:51:23 GMT Subject: Re: [PATCH] status&commit: Teach them to show submodule commit summary Message-ID: <4738848B.8020403@viscovery.net> In-Reply-To: <46dff0320711120839q7fc0542frd90a396237c144bf@mail.gmail.com> Ping Yin schrieb: > On Nov 13, 2007 12:13 AM, Johannes Schindelin > wrote: > >>> There is already 'status.color', I suggest the configuration to become >>> 'status.submoduleSummary'. >> You could make this variable even a numeric one. Saying how many lines >> you want to have maximally (-1 meaning unlimited). > Good idea. > However, there is a problem about limiting the lines of commit > summary: if there are 50 backwards and 50 forwards, and summary lines > are limited to 50 lines. How to display? 25 backwards, 25 forwards or > only 50 backwards? Just use git log --left-right --topo-order, then you can easily insert -$n, and git-log will decide where it cuts off the lists. However, --left-right won't reverse one of the list, like you did. -- Hannes