[PATCH 0/3] Turn git-rebase--*.sh to external helpers
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Feb 17, 2016, 13:36 UTC
- Message-ID
- <1455716201-29784-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <vpqio1nsk0q.fsf@anie.imag.fr>
On Wed, Feb 17, 2016 at 5:34 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 15 quoted lines
> There's a funny exercice there: the git-rebase--$type.sh scripts are not
> called as external helpers, but like this:
>
> run_specific_rebase () {
> if [ "$interactive_rebase" = implied ]; then
> GIT_EDITOR=:
> export GIT_EDITOR
> autosquash=
> fi
> . git-rebase--$type
> # ...
>
> So, turning these scripts into builtins would first require turning this
> ". git-rebase--$type" into an actual command call. But nothing
> unfeasible.We do want to turn all these scripts to C in the end, regardless if the conversion is part of any GSoC. So I dug up my code and prepared this. Now we need people to convert any git-rebase*.sh to C :)
Nguyễn Thái Ngọc Duy (3): rebase: move common functions to rebase--lib.sh rebase: move cleanup code to exit_rebase() rebase: turn git-rebase--*.sh into separate programs
Makefile | 7 +-- git-rebase--am.sh (mode +x) | 23 ++++---- git-rebase--interactive.sh (mode +x) | 15 ++++++ git-rebase--lib.sh (new +x) | 79 +++++++++++++++++++++++++++ git-rebase--merge.sh (mode +x) | 14 +++++ git-rebase.sh | 100 ++++++----------------------------- 6 files changed, 143 insertions(+), 95 deletions(-) mode change 100644 => 100755 git-rebase--am.sh mode change 100644 => 100755 git-rebase--interactive.sh create mode 100755 git-rebase--lib.sh mode change 100644 => 100755 git-rebase--merge.sh
-- 2.7.0.377.g4cd97dd