Skip to content

Commit daa6557

Browse files
committed
111
1 parent 193aeca commit daa6557

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

repo_pull.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package git
66

77
import (
88
"context"
9-
"fmt"
109
"strings"
1110
)
1211

@@ -29,7 +28,6 @@ func (r *Repository) MergeBase(ctx context.Context, base, head string, opts ...M
2928
args := []string{"merge-base", "--end-of-options", base, head}
3029
stdout, err := exec(ctx, r.path, args, opt.Envs)
3130
if err != nil {
32-
fmt.Printf("%+v\n", err)
3331
if isExitStatus(err, 1) {
3432
return "", ErrNoMergeBase
3533
}

repo_reference.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ func (r *Repository) ShowRefVerify(ctx context.Context, ref string, opts ...Show
5252
}
5353

5454
args := []string{"show-ref", "--verify", "--end-of-options", ref}
55-
5655
stdout, err := exec(ctx, r.path, args, opt.Envs)
5756
if err != nil {
5857
if strings.Contains(err.Error(), "not a valid ref") {
@@ -221,7 +220,6 @@ func (r *Repository) DeleteBranch(ctx context.Context, name string, opts ...Dele
221220
args = append(args, "-d")
222221
}
223222
args = append(args, "--end-of-options", name)
224-
225223
_, err := exec(ctx, r.path, args, opt.Envs)
226224
return err
227225
}

0 commit comments

Comments
 (0)