git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] set NO_TRIVIAL for custom merge strategies
@ 2010-08-16  1:06 Jonathan Nieder
  2010-08-16  1:08 ` [PATCH 1/2] t7606 (merge-theirs): modernize style Jonathan Nieder
  2010-08-16  1:11 ` [PATCH 2/2] merge: let custom strategies intervene in trivial merges Jonathan Nieder
  0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Nieder @ 2010-08-16  1:06 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Yaroslav Halchenko, Miklos Vajna

As noticed at <http://bugs.debian.org/581691>, the example custom
“theirs” strategy does not take effect for trivial merges.
A user-defined “ours”-like strategy would also not be possible without
this change.

Longer term, it would be nice to be able to override the
NO_FAST_FORWARD and NO_TRIVIAL flags for custom strategies in
~/.gitconfig, but let’s wait until we need it.

Thoughts?

Jonathan Nieder (2):
  t7606 (merge-theirs): modernize style
  merge: let custom strategies intervene in trivial merges

 builtin/merge.c         |    1 +
 t/t7606-merge-custom.sh |   96 ++++++++++++++++++++++++++++++++++-------------
 2 files changed, 71 insertions(+), 26 deletions(-)

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

end of thread, other threads:[~2010-08-16  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-16  1:06 [PATCH 0/2] set NO_TRIVIAL for custom merge strategies Jonathan Nieder
2010-08-16  1:08 ` [PATCH 1/2] t7606 (merge-theirs): modernize style Jonathan Nieder
2010-08-16  1:11 ` [PATCH 2/2] merge: let custom strategies intervene in trivial merges Jonathan Nieder
2010-08-16  3:39   ` 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).