forked from tangled.org/core
this repo has no description

Compare changes

Choose any two refs to compare.

Changed files
+4 -1
knotserver
+4 -1
knotserver/git/language.go
···
import (
"context"
"path"
+
"strings"
"github.com/go-enry/go-enry/v2"
"github.com/go-git/go-git/v5/plumbing/object"
···
return nil
}
-
if enry.IsGenerated(filepath, content) {
+
if enry.IsGenerated(filepath, content) ||
+
enry.IsBinary(content) ||
+
strings.HasSuffix(filepath, "bun.lock") {
return nil
}