log errors from git.Open
Anirudh Oppiliappan x@icyphox.sh
Sun, 05 Nov 2023 10:03:43 +0200
2 files changed,
4 insertions(+),
0 deletions(-)
M
readme
→
readme
@@ -72,6 +72,9 @@ • The default head.html template uses my CDN to fetch fonts -- you may
or may not want this. • Pushing over https, while supported, is disabled because auth is a pain. Use ssh. +• Your remote's default branch must point to one of the listed + repo.mainBranch. (ref: + https://social.alexschroeder.ch/@alex/statuses/01HEA8T69WANTMZSTX0X5YF0WM) • Paths are unveil(2)'d on OpenBSD.
M
routes/routes.go
→
routes/routes.go
@@ -45,6 +45,7 @@
path := filepath.Join(d.c.Repo.ScanPath, dir.Name()) gr, err := git.Open(path, "") if err != nil { + log.Println(err) continue }