Skip to content

git merge-base web api

Description

provide 'git merge-base' web api

Proposal

Add a web api that provides the results of a 'git merge-base' between two or more refs

Links / references

Documentation blurb

Overview

git merge-base is a useful tool for finding a common ancestor between branches

Use cases

The team I work with is currently running a local mirror of a GitLab repo so that they can run "git merge-base" and get the results for their toolchain. I would like them to just use the web api to get this information, but such an API does not exist and maintaining a local mirror for them is tech debt that I do not want

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.