Remove duplicate DeleteRemoteBranch method

Duplicate introduced during rebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-19 19:15:13 -08:00
parent caef0e04b2
commit ac16446f83
2 changed files with 346 additions and 352 deletions

View File

@@ -374,12 +374,6 @@ func (g *Git) DeleteBranch(name string, force bool) error {
return err
}
// DeleteRemoteBranch deletes a branch from the remote.
func (g *Git) DeleteRemoteBranch(remote, branch string) error {
_, err := g.run("push", remote, "--delete", branch)
return err
}
// Rev returns the commit hash for the given ref.
func (g *Git) Rev(ref string) (string, error) {
return g.run("rev-parse", ref)