Skip to content

finding the fork point from reflog entries

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2merge-base: use OPT_CMDMODE and clarify the command line parsingbuiltin/merge-base.c+22 -160 replies
2/2merge-base: "--reflog" mode finds fork point from reflog entriesbuiltin/merge-base.c t/t6010-merge-base.sh+104 -017 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchEric Sunshine
1/2
2/2Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] finding the fork point from reflog entries

The first one is a clean-up of the code to parse command line options to "git merge-base". Options such as "--independent", "--is-ancestor" and "--octopus" are mutually exclusive and it is better expressed in terms of the recently introduced OPT_CMDMODE.

The second one implements the entire logic of the for loop we see in "git pull --rebase" directly using get_merge_bases_many() and postprocessing the result.

Junio C Hamano (2):
merge-base: use OPT_CMDMODE and clarify the command line parsing
merge-base: "--reflog" mode finds fork point from reflog entries

 builtin/merge-base.c  | 115 +++++++++++++++++++++++++++++++++++++++++++-------
 t/t6010-merge-base.sh |  27 ++++++++++++
 2 files changed, 126 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.4.1-799-g1c32b8d