[v3,0/1] rebase: fix --fork-point with short ref upstream
mbox series

Message ID 20191209145312.3251-1-alext9@gmail.com
Headers show
Series
  • rebase: fix --fork-point with short ref upstream
Related show

Message

Alex Torok Dec. 9, 2019, 2:53 p.m. UTC
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(-)