diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2020-11-04 15:29:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-04 14:10:41 -0800 |
commit | 8843302307bb7d652f5adde759cd6a3c1a7fb1ea (patch) | |
tree | e218443e7bdb106f75eeead335c1a8b3bb4dfa4b /alias.c | |
parent | rebase -i: use struct object_id when writing state (diff) | |
download | tgif-8843302307bb7d652f5adde759cd6a3c1a7fb1ea.tar.xz |
rebase -i: simplify get_revision_ranges()
Now that all the external users of head_hash have been converted to
use a opts->orig_head instead we can stop returning head_hash from
get_revision_ranges().
Because we want to pass the full object names back to the caller in
`revisions` the find_unique_abbrev_r() call that was used to initialize
`head_hash` is replaced with oid_to_hex().
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'alias.c')
0 files changed, 0 insertions, 0 deletions