diff options
author | Alban Gruin <alban.gruin@gmail.com> | 2020-01-21 20:32:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-26 08:39:21 -0800 |
commit | 240fc04f81fcc6c646ec08bfab4662bb09e44c50 (patch) | |
tree | 8bbed0059549df94c58af843ccdce60e0bdd9187 /compat/sha1-chunked.c | |
parent | Git 2.25.1 (diff) | |
download | tgif-240fc04f81fcc6c646ec08bfab4662bb09e44c50.tar.xz |
builtin/rebase: remove a call to get_oid() on `options.switch_to'
When `options.switch_to' is set, `options.orig_head' is populated right
after with the object name the ref/commit argument points at.
Therefore, there is no need to parse `switch_to' again.
Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/sha1-chunked.c')
0 files changed, 0 insertions, 0 deletions