git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] disable merge summaries if they are disabled
@ 2007-05-23 15:28 Alex Riesen
  2007-05-23 16:03 ` Alex Riesen
  2007-05-23 18:22 ` Junio C Hamano
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Riesen @ 2007-05-23 15:28 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Junio C Hamano

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Otherwise the merge.summary option has no visible effect.

---
 git-merge.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

[-- Attachment #2: 0001-disable-merge-summaries-if-the-are-disabled.txt --]
[-- Type: text/plain, Size: 617 bytes --]

From 20ef81ca3b30a4c96906b3512ca1b52d2bec3698 Mon Sep 17 00:00:00 2001
From: Alex Riesen <raa.lkml@gmail.com>
Date: Wed, 23 May 2007 15:52:16 +0200
Subject: [PATCH] disable merge summaries if they are disabled

---
 git-merge.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/git-merge.sh b/git-merge.sh
index 351676f..7fbe03a 100755
--- a/git-merge.sh
+++ b/git-merge.sh
@@ -121,6 +121,7 @@ merge_name () {
 case "$#" in 0) usage ;; esac
 
 have_message=
+test $(git-config merge.summary) = false && no_summary=t
 while case "$#" in 0) break ;; esac
 do
 	case "$1" in
-- 
1.5.2.784.gb18c


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-05-23 21:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 15:28 [PATCH] disable merge summaries if they are disabled Alex Riesen
2007-05-23 16:03 ` Alex Riesen
2007-05-23 18:22 ` Junio C Hamano
2007-05-23 19:58   ` Alex Riesen
2007-05-23 20:02     ` [PATCH] Add a configuration option to control diffstat after merge Alex Riesen
2007-05-23 20:18       ` Junio C Hamano
2007-05-23 20:43         ` Alex Riesen
2007-05-23 21:01           ` Alex Riesen
2007-05-23 20:03     ` [PATCH] disable merge summaries if they are disabled Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).