git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use git-fmt-merge-msg?
@ 2009-02-05 12:31 Robert Haines
  2009-02-05 12:59 ` Santi Béjar
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Haines @ 2009-02-05 12:31 UTC (permalink / raw)
  To: Git Mailing List

Hi all,

I would like to use git-fmt-merge-msg to produce automatic summaries  
of what commits are being merged when I merge one branch into the  
other - like I see all the time in git.git, etc. The problem I am  
having is that I can only seem to get it to work with remote branches  
via .git/FETCH_HEAD - basically I don't know what else I can feed it  
to do what I want.

Say I have a local repo with no remotes so no .git/FETCH_HEAD. Can I  
use git-fmt-merge-msg to produce such a summary when I'm just merging  
local branches? I've tried feeding just about everything I can find  
in .git/ into it but with no luck. Is there anything generated during  
the merge that can be used as input if I do a merge --no-commit? A  
list of merged commits or something?

I'm sure I've missed something simple here... Alternatively, am I just  
barking up the wrong tree?

Thanks,
Rob

-- 
Robert Haines

Research Associate, RealityGrid          Tel. : +44 (0)161 275 6067
Research Computing Services              Fax. : +44 (0)161 275 0637
University of Manchester                 Email: rhaines@manchester.ac.uk
Oxford Road                              Web  : www.realitygrid.org
Manchester, M13 9PL                           : www.rcs.manchester.ac.uk

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

end of thread, other threads:[~2009-02-05 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 12:31 How to use git-fmt-merge-msg? Robert Haines
2009-02-05 12:59 ` Santi Béjar
2009-02-05 13:25   ` Robert Haines
2009-02-05 13:35     ` Santi Béjar

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).