<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-rebase--common.sh, branch v2.20.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.20.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.20.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-08-06T20:08:01Z</updated>
<entry>
<title>rebase: refactor common shell functions into their own file</title>
<updated>2018-08-06T20:08:01Z</updated>
<author>
<name>Pratik Karki</name>
<email>predatoramigo@gmail.com</email>
</author>
<published>2018-08-06T19:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c7b64aa0f3a83ed574d9d374bf2639c3c091120c'/>
<id>urn:sha1:c7b64aa0f3a83ed574d9d374bf2639c3c091120c</id>
<content type='text'>
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--&lt;backend&gt;` 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 &lt;predatoramigo@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
