Subject: [GSoC] [PATCH 0/5] rebase: rewrite rebase in C

From: Pratik Karki <[email-masked]>
Date: Thu, 28 Jun 2018 13:31:50 +0545

As a GSoC project, I have been working on the builtin rebase.

The motivation behind the rewrite of rebase i.e. from shell script to C
are for following reasons:

1.  Writing shell scripts and getting it to production is much faster
    than doing the equivalent in C but lacks in performance and extra
    workarounds are needed for non-POSIX platforms.

2.  Git for Windows is at loss as the installer size increases due to
    addition of extra dependencies for the shell scripts which are usually
    available in POSIX compliant platforms.

This series of patches serves to demonstrate a minimal builtin rebase
which supports running `git rebase <upstream>` and also serves to ask for
reviews.

Pratik Karki (5):
  Start TODO-rebase.sh
  rebase: start implementing it as a builtin
  rebase: refactor common shell functions into their own file
  sequencer: refactor the code to detach HEAD to checkout.c
  builtin/rebase: support running "git rebase <upstream>"

 .gitignore                      |   2 +
 Makefile                        |   4 +-
 git-rebase.sh => TODO-rebase.sh |   0
 builtin.h                       |   1 +
 builtin/rebase.c                | 282 +++++++++++++
 checkout.c                      |  64 +++
 checkout.h                      |   3 +
 git-legacy-rebase.sh            | 678 ++++++++++++++++++++++++++++++++
 git-rebase--common.sh           |  61 +++
 git.c                           |   6 +
 sequencer.c                     |  58 +--
 11 files changed, 1105 insertions(+), 54 deletions(-)
 rename git-rebase.sh => TODO-rebase.sh (100%)
 create mode 100644 builtin/rebase.c
 create mode 100755 git-legacy-rebase.sh
 create mode 100644 git-rebase--common.sh

-- 
2.18.0