Skip to content

fix: export getMergeBase from package root - #71

Merged
mcarvin8 merged 1 commit into
mainfrom
fix/export-getMergeBase
Aug 11, 2026
Merged

fix: export getMergeBase from package root#71
mcarvin8 merged 1 commit into
mainfrom
fix/export-getMergeBase

Conversation

@mcarvin8

Copy link
Copy Markdown
Owner

Summary

  • getMergeBase was imported and used internally by resolveFromRef/summarizeGitDiffWithUsage to resolve fromMergeBase, but was missing from the top-level export { ... } from "./git/index.js" list in src/index.ts — consumers had no way to call it directly even though git/index.d.ts declares it.

Test plan

  • npm run build
  • vitest run — 325 passed

getMergeBase was imported and used internally by summarizeGitDiffWithUsage
to resolve fromMergeBase, but missing from the top-level export list —
consumers building their own from-ref resolution around --from-merge-base
had no way to call it directly.
@mcarvin8
mcarvin8 merged commit c90c676 into main Aug 11, 2026
6 checks passed
@mcarvin8
mcarvin8 deleted the fix/export-getMergeBase branch August 11, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant