Thes patch series rewrites the reflog operations from shell to C. This
is part of the effort to rewrite interactive rebase in C.
The first commit is dedicated to creating a function to silence a
command, as the sequencer will do in several places with these patches.
This branch is based on ag/rebase-i-rewrite-todo, and does not conflict
with pu (as of 2018-06-21).
Changes since v2:
- Removing the “verbose” parameter to run_command_silent_on_success()
- Rewording some parts of the second commit
- Changing the help for the “--verbose” flag
Alban Gruin (3):
sequencer: add a new function to silence a command, except if it
fails.
rebase -i: rewrite setup_reflog_action() in C
rebase -i: rewrite checkout_onto() in C
builtin/rebase--helper.c | 14 +++++-
git-rebase--interactive.sh | 39 ++-------------
sequencer.c | 98 ++++++++++++++++++++++++++++----------
sequencer.h | 6 +++
4 files changed, 96 insertions(+), 61 deletions(-)
--
2.17.1