Skip to content

Allow custom merge strategies, take 2

Miklos Vajna git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6builtin-help: make is_git_command() usable outside builtin-helpMakefile help.c help.h+21 -110 replies
2/6builtin-help: make list_commands() a bit more generichelp.c help.h+11 -80 replies
3/6builtin-help: make it possible to exclude some commands in list_commands()help.c help.h+23 -155 replies
3/6builtin-help: make it possible to exclude some commands in list_commands()help.c help.h+24 -160 replies
4/6builtin-merge: allow using a custom strategybuiltin-merge.c+12 -70 replies
5/6builtin-merge: avoid non-strategy git-merge commands in error messagebuiltin-merge.c+14 -13 replies
6/6Add a new test for using a custom merge strategyt/t7606-merge-custom.sh+45 -01 reply
6/6Add a new test for using a custom merge strategyt/t7606-merge-custom.sh+46 -03 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/6] Allow custom merge strategies, take 2

Hi,

This is just a resend of my series, on top of Dscho's "Avoid chdir() in list_commands_in_dir()" (f5d600e), including the suggestions I received from Jonathan Nieder and Dscho.

Miklos Vajna (6):
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
builtin-merge: avoid non-strategy git-merge commands in error message Add a new test for using a custom merge strategy

 Makefile                |    1 +
 builtin-merge.c         |   32 +++++++++++++++++++++------
 help.c                  |   55 ++++++++++++++++++++++++-----------------------
 help.h                  |   19 ++++++++++++++++
 t/t7606-merge-custom.sh |   45 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 118 insertions(+), 34 deletions(-)
 create mode 100644 help.h
 create mode 100755 t/t7606-merge-custom.sh