From: Adam Simpkins Date: Sat, 24 May 2008 20:52:00 GMT Subject: [PATCH 0/1] graph API: always print 'M' for merge commits Message-ID: <1211662321-28846-1-git-send-email-adam@adamsimpkins.net> In-Reply-To: <20080524182530.GB2997@mithlond.arda.local> On Sat, May 24, 2008 at 09:25:30PM +0300, Teemu Likonen wrote: > > I'd rather show merge commits always with M. They are still conceptually > merges even if the current log view shows only one parent. This patch > changes symbols * and M to be visual symbols, not logical symbols which > I'd prefer. > > For example user may be interested in finding certain merge but chooses > to limit the output with a commit range. It helps if user can always > trust the symbols * and M to have this conceptual difference. Okay. Here's a simple patch to restore the behavior of always printing 'M' for merge commits, even if less than 2 parents are shown in the graph. Adam Simpkins (1): graph API: always print 'M' for merge commits graph.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-)