pull on start

This commit is contained in:
Simon Martens
2025-09-30 21:16:59 +02:00
parent 5f545bafc9
commit d49b5fe246

View File

@@ -49,6 +49,11 @@ public class XMLFileProvider : IXMLFileProvider {
_hamannFileProvider = new PhysicalFileProvider(hamannPath);
_workingTreeFileProvider = new PhysicalFileProvider(gitPath);
// Pull latest changes on startup (if repo exists)
if (_GitService.GetGitState() != null) {
_GitService.Pull();
}
// Create File Lists; Here and in xmlservice, which does preliminary checking
Scan();
if (_WorkingTreeFiles != null && _WorkingTreeFiles.Any()) {