Skip to content

Commit b0c383e

Browse files
authored
Merge pull request #483 from erizocosmico/feature/remove-ref-warn
gitbase: remove warnings on symbolic references
2 parents d1fde70 + 3768ebc commit b0c383e

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

references.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"io"
77
"strings"
88

9-
"github.com/sirupsen/logrus"
109
"gopkg.in/src-d/go-mysql-server.v0/sql"
1110

1211
"gopkg.in/src-d/go-git.v4/plumbing"
@@ -294,10 +293,6 @@ func (i *refRowIter) next() (sql.Row, error) {
294293
}
295294

296295
if o.Type() != plumbing.HashReference {
297-
logrus.WithFields(logrus.Fields{
298-
"type": o.Type(),
299-
"ref": o.Name(),
300-
}).Debug("ignoring reference, it's not a hash reference")
301296
continue
302297
}
303298

squash_iterator.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,6 @@ func (i *squashRefIter) Advance() error {
475475
}
476476

477477
if ref.Type() != plumbing.HashReference {
478-
logrus.WithFields(logrus.Fields{
479-
"type": ref.Type(),
480-
"ref": ref.Name(),
481-
}).Debug("ignoring reference, it's not a hash reference")
482478
continue
483479
}
484480

@@ -864,10 +860,6 @@ func (i *squashRemoteRefsIter) Advance() error {
864860
}
865861

866862
if ref.Type() != plumbing.HashReference {
867-
logrus.WithFields(logrus.Fields{
868-
"type": ref.Type(),
869-
"ref": ref.Name(),
870-
}).Debug("ignoring reference, it's not a hash reference")
871863
continue
872864
}
873865

0 commit comments

Comments
 (0)