fix(agentic): update auto_pr.go to use exported DefaultBranch
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
deaa06a54d
commit
0f0764ff59
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue