diff options
author | Pratik Karki <predatoramigo@gmail.com> | 2018-09-04 14:27:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-06 11:55:42 -0700 |
commit | 075bc8527c7e162e1131ac42443637dbe3bef16a (patch) | |
tree | 4e5906d4c7f04724ec4142d18a184759f526d67d /Documentation/technical | |
parent | builtin rebase: support --onto (diff) | |
download | tgif-075bc8527c7e162e1131ac42443637dbe3bef16a.tar.xz |
builtin rebase: support `git rebase --onto A...B`
This commit implements support for an --onto argument that is actually a
"symmetric range" i.e. `<rev1>...<rev2>`.
The equivalent shell script version of the code offers two different
error messages for the cases where there is no merge base vs more than
one merge base.
Though it would be nice to retain this distinction, dropping it makes it
possible to simply use the `get_oid_mb()` function. Besides, it happens
rarely in real-world scenarios.
Therefore, in the interest of keeping the code less complex, let's just
use that function, and live with an error message that does not
distinguish between those two error conditions.
Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions