From 1a72589f6f2856449984aecab944e19512e55c5d Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sat, 17 Sep 2022 21:31:37 -0700 Subject: [PATCH] getHookFiles: print path of each hook file as it is processed This may be useful during debug later on --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 7de515c..e6d667c 100644 --- a/main.go +++ b/main.go @@ -161,6 +161,7 @@ func getHookFiles(filesdir string) (files []string, err error) { } defer f.Close() + log.Printf("-- Including files from: %s\n", path) s := bufio.NewScanner(f) for s.Scan() { if filelist, err := getFiles([]string{s.Text()}, true); err != nil {