Move the dwim ref logic into get_fork_point() and return an error code so that callers of get_fork_point() know if something went wrong. Alex Torok (1): rebase: fix --fork-point with short refname builtin/merge-base.c | 14 +++----------- builtin/rebase.c | 5 +++-- commit.c | 19 +++++++++++++------ commit.h | 2 +- refs.c | 14 ++++++++++++++ refs.h | 2 ++ t/t3431-rebase-fork-point.sh | 20 ++++++++++++++++++++ 7 files changed, 56 insertions(+), 20 deletions(-) -- 2.17.1