We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e1f55 commit 71916c7Copy full SHA for 71916c7
components/supervisor/pkg/supervisor/supervisor.go
@@ -818,7 +818,7 @@ func configureGit(cfg *Config) {
818
settings = append(settings, []string{"user.email", cfg.GitEmail})
819
}
820
821
- if cfg.CommitAnnotationEnabled {
+ if cfg.CommitAnnotationEnabled && !cfg.isHeadless() {
822
err := setupGitMessageHook(filepath.Join(cfg.RepoRoot, ".git", "hooks"))
823
if err != nil {
824
log.WithError(err).Error("cannot setup git message hook")
0 commit comments