[GSoC][PATCH v3 0/3] rebase -i: rewrite reflog operations in C
- From
Alban Gruin <alban.gruin@gmail.com>
- Date
- Jun 21, 2018, 14:17 UTC
- Message-ID
- <20180621141732.19952-1-alban.gruin@gmail.com>
- In-Reply-To
- <20180619154421.14999-1-alban.gruin@gmail.com>
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 Cbuiltin/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