From: Junio C Hamano Date: Tue, 09 May 2006 02:41:31 GMT Subject: Re: git-feed-mail-list.sh Message-ID: <7vwtcvc42s.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <4fb292fa0605081809r6aa76baai5eac9823183fc3fc@mail.gmail.com> "Bertrand Jacquin" writes: > But I would like to send an email after merge to inform people that: > > o tree ``a'' and ``b'' have been merged. > o made by John Doe at a time > o show a diffstat. > o show a --short-log=oneline from merge base. Forgetting about a fast-forward merge, (1) and (2) are available in the commit header and the commit log, so is (4) if you enable merge.summary configuration like Linus does in his kernel repository. The comment on diffstat Linus already made applies to (3), but if you want you could do "git diff --stat HEAD^..HEAD" to see what happened to that branch by merging the other branch into it.