Skip to content

Build in merge

Miklos Vajna git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Move split_cmdline() to alias.calias.c cache.h git.c+55 -530 replies
2/10Move commit_list_count() to commit.cbuiltin-merge-recursive.c commit.c commit.h+9 -80 replies
3/10Move parse-options's skip_prefix() to git-compat-util.hbuiltin-remote.c git-compat-util.h parse-options.c+32 -190 replies
4/10Add new test to ensure git-merge handles pull.twohead and pull.octopust/t7601-merge-pull-config.sh+72 -00 replies
5/10parseopt: add a new PARSE_OPT_ARGV0_IS_AN_OPTION optionparse-options.c parse-options.h+6 -00 replies
6/10Move read_cache_unmerged() to read-cache.cbuiltin-read-tree.c cache.h read-cache.c+33 -240 replies
7/10git-fmt-merge-msg: make it usable from other builtinsbuiltin-fmt-merge-msg.c builtin.h+94 -660 replies
8/10Introduce get_octopus_merge_bases() in commit.ccommit.c commit.h+33 -03 replies
9/10Introduce filter_independent() in commit.ccommit.c commit.h+17 -00 replies
10/10Build in mergeMakefile builtin-merge.c builtin.h +2 more+1131 -10 replies

Reviews trailers per patch

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

PatchJohannes Schindelin
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10Mentored-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/10] Build in merge

Hi,

It was almost a week ago I posted the previous series here and there were numerous improvements since then.

A short changelog:

- introducing filter_independent() in commit.c

- avoiding commit_list_append()

- using parseopt's skip_prefix()

- avoiding unnecessary strbuf_addf() in builtin-fmt-merge-msg.c

As always, comments are welcome. I hope I addressed all the issues which were pointed out in the previous thread. If this is not the case, please correct me.

Thanks.

Miklos Vajna (10):
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
parseopt: add a new PARSE_OPT_ARGV0_IS_AN_OPTION option 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 Introduce filter_independent() in commit.c
Build in merge

 Makefile                                      |    2 +-
 alias.c                                       |   54 ++
 builtin-fmt-merge-msg.c                       |  157 ++--
 builtin-merge-recursive.c                     |    8 -
 builtin-merge.c                               | 1128 +++++++++++++++++++++++++
 builtin-read-tree.c                           |   24 -
 builtin-remote.c                              |   39 +-
 builtin.h                                     |    4 +
 cache.h                                       |    3 +
 commit.c                                      |   56 ++
 commit.h                                      |    3 +
 git-merge.sh => contrib/examples/git-merge.sh |    0 
 git-compat-util.h                             |    6 +
 git.c                                         |   54 +--
 parse-options.c                               |   11 +-
 parse-options.h                               |    1 +
 read-cache.c                                  |   31 +
 t/t7601-merge-pull-config.sh                  |   72 ++
 18 files changed, 1482 insertions(+), 171 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