From 33242ba596ab1d2082bddad6a83194b32a95f935 Mon Sep 17 00:00:00 2001 From: Omar Saleh <56449814+oasaleh@users.noreply.github.com> Date: Sat, 24 Jan 2026 16:32:02 -0600 Subject: [PATCH] loc: disable .gitignore when running scc --- loc/loc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loc/loc.go b/loc/loc.go index f321310..4d54aac 100644 --- a/loc/loc.go +++ b/loc/loc.go @@ -229,7 +229,7 @@ func (l *loc) doLocRepoRequest(w http.ResponseWriter, r *http.Request, order str } func (l *loc) countLines(repoPath string) (info []byte, err error) { - comm := SCC + " " + comm := SCC + " --no-gitignore " if len(l.ignored) < 1 { comm += repoPath + " -f json " } else {