Fixed issue when a file tracked by git is modified by previous compilation

This commit is contained in:
Youen 2024-02-05 21:48:05 +01:00
parent 914c5c43f9
commit bac8e34245

View File

@ -78,6 +78,7 @@ class Document:
is_intensive_task = False
# update source files from git
cmd.append(['git', 'reset', '--hard', 'HEAD']) # we must first revert any local change ; this fixes an issue with print-theme.css that can be modified during compilation to update the number of pages
cmd.append(['git', 'pull'])
if multiversion_build: