* How to enhance merge commit message ?
@ 2007-01-30 4:32 Alexander Litvinov
2007-01-30 4:45 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Litvinov @ 2007-01-30 4:32 UTC (permalink / raw)
To: git
Hello list,
git's git repo contains a lot of merges with nice commit message,
like this (d96497b8d):
Merge branches 'jc/merge-base', 'sp/merge', 'jc/diff', 'jc/explain', 'jc/web'
and 'jc/pickaxe' into pu
* jc/merge-base:
Teach "git-merge-base --check-ancestry" about refs.
git-merge-base: --check-ancestry option
* sp/merge:
Avoid git-fetch in `git-pull .` when possible.
* jc/diff:
test-para: combined diff between HEAD, index and working tree.
para-walk: walk n trees, index and working tree in parallel
* jc/explain:
git-explain
....
How can I made the same messages using git pull . <branch> ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to enhance merge commit message ?
2007-01-30 4:32 How to enhance merge commit message ? Alexander Litvinov
@ 2007-01-30 4:45 ` Junio C Hamano
2007-01-30 5:23 ` Alexander Litvinov
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2007-01-30 4:45 UTC (permalink / raw)
To: Alexander Litvinov; +Cc: git
Alexander Litvinov <litvinov2004@gmail.com> writes:
> git's git repo contains a lot of merges with nice commit message,
> like this (d96497b8d):
> ....
> How can I made the same messages using git pull . <branch> ?
$ grep -A2 '^merge\.summary' Documentation/config.txt
merge.summary::
Whether to include summaries of merged commits in newly created
merge commit messages. False by default.
This is a good option if you are doing the top-level "bundling
of others' work -- people will base their further work on this"
merges. On the other hand, if you are merging from your uplevel
because your work depends on something that was updated recently,
having the merge summary is often pointless (because the merge
would bring in many mostly unrelated commits, in addition to that
something your work depends on). I think Linus has explicitly
asked this option not enabled by people he pulls from for this
reason.
We might want to have a per-branch option to control this
behaviour at finer grained level. I would enable it for my four
primary integration branches (maint, master, next, and pu) but
not for topic branches. That way, if a topic needs a fix that
happened on the master since it forked, the tip of the master
will be merged back to the topic without the merge summary
message (I would describe why that merge in an unusual direction
was needed in the commit message anyway).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to enhance merge commit message ?
2007-01-30 4:45 ` Junio C Hamano
@ 2007-01-30 5:23 ` Alexander Litvinov
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Litvinov @ 2007-01-30 5:23 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
В сообщении от Tuesday 30 January 2007 10:45 Junio C Hamano написал(a):
> $ grep -A2 '^merge\.summary' Documentation/config.txt
> merge.summary::
> Whether to include summaries of merged commits in newly created
> merge commit messages. False by default.
Thanks !
> This is a good option if you are doing the top-level "bundling
> of others' work -- people will base their further work on this"
> merges. On the other hand, if you are merging from your uplevel
> because your work depends on something that was updated recently,
> having the merge summary is often pointless (because the merge
> would bring in many mostly unrelated commits, in addition to that
> something your work depends on). I think Linus has explicitly
> asked this option not enabled by people he pulls from for this
> reason.
I understand your point.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-30 5:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 4:32 How to enhance merge commit message ? Alexander Litvinov
2007-01-30 4:45 ` Junio C Hamano
2007-01-30 5:23 ` Alexander Litvinov
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).