Skip to content

Commit 7dd1823

Browse files
committed
NewObjectIter(): remove unused arg
1 parent 15487a4 commit 7dd1823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/obj_iter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type ObjectIter struct {
2222
// `repo`. The arguments are passed to `git rev-list --objects`. The
2323
// second return value is the stdin of the `rev-list` command. The
2424
// caller can feed values into it but must close it in any case.
25-
func (repo *Repository) NewObjectIter(ctx context.Context, args ...string) (*ObjectIter, error) {
25+
func (repo *Repository) NewObjectIter(ctx context.Context) (*ObjectIter, error) {
2626
iter := ObjectIter{
2727
ctx: ctx,
2828
p: pipe.New(),

0 commit comments

Comments
 (0)