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 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Move reset_index_file() to a new reset.cMakefile builtin-reset.c reset.c +1 more+37 -162 replies
2/5Move split_cmdline() to libgitalias.c cache.h git.c+55 -530 replies
3/5Make verbosity configurable in reset_index_file()builtin-reset.c reset.c reset.h+5 -42 replies
4/5Move commit_list_count() to commit.cbuiltin-merge-recursive.c commit.c commit.h+9 -80 replies
5/5Build in mergeMakefile builtin-merge.c builtin.h +2 more+1120 -10 replies

Reviews trailers per patch

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

PatchJohannes Schindelin
1/5
2/5
3/5
4/5
5/5Mentored-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 [WIP PATCH 0/5] Build in merge

Hello,

This is a work in progress patch, reflecting the current status of builtin-merge I have. As far as I know all the tests pass, but there are still some work to do. In general, a few problems I'm aware of:

1) There are still TODOs/FIXMEs in the code.

2) It should be possible to avoid some exec() calls, like write-tree, show-branch and fmt-merge-msg.

3) Minor memory leaks.

Other than that, comments are welcome.

Miklos Vajna (5):
Move reset_index_file() to a new reset.c Move split_cmdline() to libgit
Make verbosity configurable in reset_index_file() Move commit_list_count() to commit.c Build in merge

 Makefile                                      |    4 +-
 alias.c                                       |   54 ++
 builtin-merge-recursive.c                     |    8 -
 builtin-merge.c                               | 1117 +++++++++++++++++++++++++
 builtin-reset.c                               |   19 +-
 builtin.h                                     |    1 +
 cache.h                                       |    1 +
 commit.c                                      |    8 +
 commit.h                                      |    1 +
 git-merge.sh => contrib/examples/git-merge.sh |    0 
 git.c                                         |   54 +--
 reset.c                                       |   29 +
 reset.h                                       |    6 +
 13 files changed, 1223 insertions(+), 79 deletions(-)
 create mode 100644 builtin-merge.c
 rename git-merge.sh => contrib/examples/git-merge.sh (100%)
 create mode 100644 reset.c
 create mode 100644 reset.h