diff --git a/models/repo.go b/models/repo.go index c5fa899f4..26aba4a85 100644 --- a/models/repo.go +++ b/models/repo.go @@ -305,11 +305,11 @@ func GetReposFiles(userName, reposName, branchName, rpath string) ([]*RepoFile, if rpath != "" { rpath = rpath + "/" } - fmt.Println("...", rpath, "...") + //fmt.Println("...", rpath, "...") tree.Walk(func(dirname string, entry *git.TreeEntry) int { if dirname == rpath { - fmt.Println("====", dirname, "==", entry.Name) + //fmt.Println("====", dirname, "==", entry.Name) repofiles = append(repofiles, &RepoFile{ entry.Id, entry.Filemode, diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 292f8cbdd..f71e87f0f 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -14,15 +14,15 @@