Thread (13 messages) 13 messages, 2 authors, 2016-06-15

[PATCH 0/9] add --ff option to cherry-pick

flat view
DORMANTno replies

From: Christian Couder <hidden>
Date: 2016-06-15 22:48:11

Revision v1 of 5 in this series.

Revisions (5)
  1. rfc [diff vs current]
  2. v1 current
  3. v2 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]
Changes since the previous series are the following:

- added some tests in a new patch
- added some documentation in a new patch
- added a patch to use the new "reset" function in builtin-merge.c
- made --ff incompatible with --edit -x and --signoff too, thanks to Paolo
- improved the first patch with suggestions from Stephen Boyd, thanks
- made a "struct lock_file" static to initialize it in the first patch
- improved commit messages

Christian Couder (8):
  reset: refactor updating heads into a static function
  reset: refactor reseting in its own function
  reset: make reset function non static and declare it in "reset.h"
  revert: add --ff option to allow fast forward when cherry-picking
  cherry-pick: add tests for new --ff option
  Documentation: describe new cherry-pick --ff option
  rebase -i: use new --ff cherry-pick option
  merge: use new "reset" function instead of running "git read-tree"

Stephan Beyer (1):
  revert: libify cherry-pick and revert functionnality

 Documentation/git-cherry-pick.txt |    6 +-
 Makefile                          |    2 +
 builtin-merge.c                   |   31 ++---
 builtin-reset.c                   |  175 ++++++++++++----------
 builtin-revert.c                  |  303 +++++++++----------------------------
 git-rebase--interactive.sh        |   15 +--
 pick.c                            |  218 ++++++++++++++++++++++++++
 pick.h                            |   13 ++
 reset.h                           |   10 ++
 t/t3506-cherry-pick-ff.sh         |   38 +++++
 10 files changed, 471 insertions(+), 340 deletions(-)
 create mode 100644 pick.c
 create mode 100644 pick.h
 create mode 100644 reset.h
 create mode 100755 t/t3506-cherry-pick-ff.sh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help