Skip to content

Build in merge

Miklos Vajna git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 14 patches 15 repliesIn review

6 of 14 patches are in this archive. The cover letter announces 14.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
8/14Add new test to ensure git-merge handles more than 25 refs.t/t7602-merge-octopus-many.sh+52 -00 replies
13/14git-commit-tree: make it usable from other builtinsbuiltin-commit-tree.c builtin.h+45 -300 replies
13/14git-commit-tree: make it usable from other builtinsbuiltin-commit-tree.c builtin.h+45 -303 replies
14/14Build in mergeMakefile builtin-merge.c builtin.h +2 more+1161 -117 replies
14/14Build in mergeMakefile builtin-merge.c builtin.h +3 more+1152 -20 replies
14/14Build in mergeMakefile builtin-merge.c builtin.h +2 more+1151 -14 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJohannes Schindelin
8/14
13/14
13/14
14/14Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by
14/14Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by
14/14Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] Build in merge

Sorry for the resend, but I again squashed an unrelated hunk to the last patch, so I'm sending the changed patches:

08: Add new test to ensure git-merge handles more than 25 refs. 13: git-commit-tree: make it usable from other builtins 14: Build in merge

I really hope I won't overlook this next time.

The interdiff from the previous version is empty, I just moved that unrelated hunk from patch 13 to patch 08.

Junio C Hamano (2):
Introduce get_merge_bases_many()
Introduce reduce_heads()

Miklos Vajna (12):
Move split_cmdline() to alias.c
Move commit_list_count() to commit.c
Move parse-options's skip_prefix() to git-compat-util.h Add new test to ensure git-merge handles pull.twohead and
pull.octopus
Move read_cache_unmerged() to read-cache.c
git-fmt-merge-msg: make it usable from other builtins Introduce get_octopus_merge_bases() in commit.c
Add new test to ensure git-merge handles more than 25 refs. Add new test case to ensure git-merge reduces octopus parents when
possible
Add new test case to ensure git-merge prepends the custom merge
message
git-commit-tree: make it usable from other builtins Build in merge

 Makefile                                      |    2 +-
 alias.c                                       |   54 ++
 builtin-commit-tree.c                         |   71 +-
 builtin-fmt-merge-msg.c                       |  155 ++--
 builtin-merge-recursive.c                     |    8 -
 builtin-merge.c                               | 1148 +++++++++++++++++++++++++
 builtin-read-tree.c                           |   24 -
 builtin-remote.c                              |   39 +-
 builtin.h                                     |    8 +
 cache.h                                       |    3 +
 commit.c                                      |  136 +++-
 commit.h                                      |    4 +
 git-merge.sh => contrib/examples/git-merge.sh |    0 
 git-compat-util.h                             |    6 +
 git.c                                         |   54 +--
 parse-options.c                               |    6 -
 read-cache.c                                  |   31 +
 t/t7601-merge-pull-config.sh                  |  129 +++
 t/t7602-merge-octopus-many.sh                 |   52 ++
 t/t7603-merge-reduce-heads.sh                 |   63 ++
 t/t7604-merge-custom-message.sh               |   37 +
 21 files changed, 1811 insertions(+), 219 deletions(-)
 create mode 100644 builtin-merge.c
 rename git-merge.sh => contrib/examples/git-merge.sh (100%)
 create mode 100755 t/t7601-merge-pull-config.sh
 create mode 100755 t/t7602-merge-octopus-many.sh
 create mode 100755 t/t7603-merge-reduce-heads.sh
 create mode 100755 t/t7604-merge-custom-message.sh