Skip to content

set NO_TRIVIAL for custom merge strategies

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20100816010652.GA22546@burratino

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2t7606 (merge-theirs): modernize stylet/t7606-merge-custom.sh+40 -260 replies
2/2merge: let custom strategies intervene in trivial mergesbuiltin/merge.c t/t7606-merge-custom.sh+34 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] set NO_TRIVIAL for custom merge strategies

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