| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The name suggests that the function computes the merge base, which for Git means specifically the best common ancestors between multiple commits or branches (see `git merge-base`). But what the function actually does is to calculate the HEAD commit of the PR base branch, as derived from the PR merge commit that the action analyzes. So even though the function has to do with "merge" and "base", using the term "merge base" is still misleading at best. This commit renames the function to determineBaseBranchHeadCommitOid(), which more clearly indicates what the function does.
There was a problem hiding this comment.
Thanks for the refactor! Renaming seems a lot clearer now too 😸
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR contains two cleanups related to how the action invokes git commands.
This PR is intended to be a refactoring, but there are some changes to git-invocation error messages.
Merge / deployment checklist