Live video on the AT Protocol

this works?

+15 -1
+15 -1
pkg/config/git/git.go
··· 84 84 flag.Parse() 85 85 r, err := git.PlainOpenWithOptions(".", &git.PlainOpenOptions{DetectDotGit: true}) 86 86 if err != nil { 87 - return err 87 + // fallback for CI environments without full git history 88 + var out string 89 + if *javascript { 90 + out = fmt.Sprintf(tmplJS, "unknown", 0, "00000000-0000-0000-0000-000000000000") 91 + } else { 92 + out = fmt.Sprintf(tmpl, "unknown", 0, "00000000-0000-0000-0000-000000000000") 93 + } 94 + if *output != "" { 95 + if err := os.WriteFile(*output, []byte(out), 0644); err != nil { 96 + return err 97 + } 98 + } else { 99 + fmt.Print(out) 100 + } 101 + return nil 88 102 } 89 103 90 104 // ... retrieving the HEAD reference