git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[WIP PATCH 0/5] Build in merge

From
Miklos Vajna <vmiklos@frugalware.org>
Date
May 24, 2008, 00:01 UTC
Message-ID
<cover.1211586801.git.vmiklos@frugalware.org>
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
Next: Miklos Vajna
Message 1 of 10 in “Build in merge”
  1. 0/5 Build in mergeMiklos Vajna, May 24, 2008
  2. 1/5 Move reset_index_file() to a new reset.cMiklos Vajna, May 24, 2008
  3. 2/5 Move split_cmdline() to libgitMiklos Vajna, May 24, 2008
  4. 3/5 Make verbosity configurable in reset_index_file()Miklos Vajna, May 24, 2008
  5. 4/5 Move commit_list_count() to commit.cMiklos Vajna, May 24, 2008
  6. 5/5 Build in mergeMiklos Vajna, May 24, 2008
  7. Kristian HøgsbergMay 27, 2008
  8. Miklos VajnaMay 27, 2008
  9. Daniel BarkalowMay 24, 2008
  10. Miklos VajnaMay 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.