Remove autocommit from backend

This commit is contained in:
2024-10-13 16:00:17 +02:00
parent 1341881968
commit da5a3ebeee

View File

@@ -190,11 +190,6 @@ func (fs *FileSystem) SaveFile(filePath string, content []byte) error {
return err return err
} }
if fs.Settings.Settings.GitAutoCommit && fs.GitRepo != nil {
message := strings.Replace(fs.Settings.Settings.GitCommitMsgTemplate, "${filename}", filePath, -1)
return fs.StageCommitAndPush(message)
}
return os.WriteFile(fullPath, content, 0644) return os.WriteFile(fullPath, content, 0644)
} }