From 0f0764ff590ac7a56fd6fa99aab9bfcf737a84de Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 22 Mar 2026 03:43:17 +0000 Subject: [PATCH] fix(agentic): update auto_pr.go to use exported DefaultBranch Co-Authored-By: Virgil --- pkg/agentic/auto_pr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agentic/auto_pr.go b/pkg/agentic/auto_pr.go index 124b05d..620dedd 100644 --- a/pkg/agentic/auto_pr.go +++ b/pkg/agentic/auto_pr.go @@ -22,7 +22,7 @@ func (s *PrepSubsystem) autoCreatePR(wsDir string) { srcDir := filepath.Join(wsDir, "src") // Detect default branch for this repo - base := gitDefaultBranch(srcDir) + base := DefaultBranch(srcDir) // Check if there are commits on the branch beyond the default branch diffCmd := exec.Command("git", "log", "--oneline", "origin/"+base+"..HEAD")