Skip to content

Allow custom merge strategies, take 3

Miklos Vajna git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5builtin-help: make is_git_command() usable outside builtin-helpMakefile help.c help.h+21 -110 replies
2/5builtin-help: make list_commands() a bit more generichelp.c help.h+11 -80 replies
3/5builtin-help: make it possible to exclude some commands in list_commands()help.c help.h+24 -161 reply
3/5builtin-help: make it possible to exclude some commands in list_commands()help.c help.h+25 -160 replies
4/5builtin-merge: allow using a custom strategybuiltin-merge.c+25 -711 replies
5/5Add a new test for using a custom merge strategyt/t7606-merge-custom.sh+46 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Allow custom merge strategies, take 3

Hi,

Changes from 'take 2':

- the testcase now makes sure the trees are the same for 'theirs' as well.

- patch 4 and 5 are squashed so there is no compile error after applying only some of the patches. (or when bisecting)

- using FLEX_ARRAY in help.h

- the first two patches are unchanged

Miklos Vajna (5):
builtin-help: make is_git_command() usable outside builtin-help
builtin-help: make list_commands() a bit more generic
builtin-help: make it possible to exclude some commands in
list_commands()
builtin-merge: allow using a custom strategy
Add a new test for using a custom merge strategy

 Makefile                |    1 +
 builtin-merge.c         |   32 ++++++++++++++++++++-----
 help.c                  |   57 ++++++++++++++++++++++++-----------------------
 help.h                  |   19 +++++++++++++++
 t/t7606-merge-custom.sh |   46 +++++++++++++++++++++++++++++++++++++
 5 files changed, 120 insertions(+), 35 deletions(-)
 create mode 100644 help.h
 create mode 100755 t/t7606-merge-custom.sh