From: Pratik Karki Date: Mon, 6 Aug 2018 19:31:10 +0000 (+0545) Subject: rebase: refactor common shell functions into their own file X-Git-Tag: v2.20.0-rc0~95^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c7b64aa0f3a83ed574d9d374bf2639c3c091120c?hp=c7b64aa0f3a83ed574d9d374bf2639c3c091120c rebase: refactor common shell functions into their own file The functions present in `git-legacy-rebase.sh` are used by the rebase backends as they are implemented as shell script functions in the `git-rebase--` files. To make the `builtin/rebase.c` work, we have to provide support via a Unix shell script snippet that uses these functions and so, we want to use the rebase backends *directly* from the builtin rebase without going through `git-legacy-rebase.sh`. This commit extracts the functions to a separate file, `git-rebase--common`, that will be read by `git-legacy-rebase.sh` and by the shell script snippets which will be used extensively in the following commits. Signed-off-by: Pratik Karki Signed-off-by: Junio C Hamano ---