summaryrefslogtreecommitdiff
path: root/builtin/check-mailmap.c
diff options
context:
space:
mode:
authorLibravatar Alban Gruin <alban.gruin@gmail.com>2018-08-28 14:10:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-29 13:38:18 -0700
commitf22e4e1a3c2faaac59099aaca15641c18f478f77 (patch)
tree83784454592c4bbf48af25b28c58acd9c8f284ca /builtin/check-mailmap.c
parentrebase -i: implement the logic to initialize $revisions in C (diff)
downloadtgif-f22e4e1a3c2faaac59099aaca15641c18f478f77.tar.xz
rebase -i: rewrite the rest of init_revisions_and_shortrevisions() in C
This rewrites the part of init_revisions_and_shortrevisions() needed by `--complete-action` (which initialize $shortrevisions) from shell to C. When `upstream` is empty, it means that the user launched a `rebase --root`, and `onto` contains the ID of an empty commit. As a range between an empty commit and `head` is not really meaningful, `onto` is not used to initialize `shortrevisions` in this case. The corresponding arguments passed to `--complete-action` are then dropped, and init_revisions_and_shortrevisions() is stripped from git-rebase--interactive.sh Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-mailmap.c')
0 files changed, 0 insertions, 0 deletions