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

[PATCH v2 0/8] implement cherry-picking many commits

From
Christian Couder <chriscool@tuxfamily.org>
Date
Jun 2, 2010, 05:58 UTC
Message-ID
<20100602055131.21504.71923.chriscool@tuxfamily.org>

This a patch series to implement cherry-picking and reverting many commits instead of just one.

There is still no way to continue or abort the process when cherry-picking or reverting fails, but this can be implemented later.

Changes since the previous series are the following:
- fixed some memory leaks, thanks to Jonathan Nieder
- improved documentation, thanks to Jonathan, Ram and Antriksh
- small fixup to use (void) instead of (), thanks to Junio
Christian Couder (8):
  revert: cleanup code for -x option
  revert: use run_command_v_opt() instead of execv_git_cmd()
  revert: refactor code into a do_pick_commit() function
  revert: change help_msg() to take no argument
  revert: allow cherry-picking more than one commit
  revert: add tests to check cherry-picking many commits
  Documentation/cherry-pick: describe passing more than one commit
  Documentation/revert: describe passing more than one commit
 Documentation/git-cherry-pick.txt   |   64 +++++++++++++++---
 Documentation/git-revert.txt        |   51 +++++++++++----
 builtin/revert.c                    |  120 +++++++++++++++++++++++------------
 t/t3508-cherry-pick-many-commits.sh |   95 +++++++++++++++++++++++++++
 4 files changed, 264 insertions(+), 66 deletions(-)
 create mode 100755 t/t3508-cherry-pick-many-commits.sh
Next: Christian Couder
Message 1 of 9 in “implement cherry-picking many commits”
  1. 0/8 implement cherry-picking many commitsChristian Couder, Jun 2, 2010
  2. 1/8 revert: cleanup code for -x optionChristian Couder, Jun 2, 2010
  3. 2/8 revert: use run_command_v_opt() instead of execv_git_cmd()Christian Couder, Jun 2, 2010
  4. 3/8 revert: refactor code into a do_pick_commit() functionChristian Couder, Jun 2, 2010
  5. 4/8 revert: change help_msg() to take no argumentChristian Couder, Jun 2, 2010
  6. 5/8 revert: allow cherry-picking more than one commitChristian Couder, Jun 2, 2010
  7. 6/8 revert: add tests to check cherry-picking many commitsChristian Couder, Jun 2, 2010
  8. 7/8 Documentation/cherry-pick: describe passing more than one commitChristian Couder, Jun 2, 2010
  9. 8/8 Documentation/revert: describe passing more than one commitChristian Couder, Jun 2, 2010

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.