Fixed issue when a file tracked by git is modified by previous compilation
This commit is contained in:
parent
914c5c43f9
commit
bac8e34245
@ -78,6 +78,7 @@ class Document:
|
|||||||
is_intensive_task = False
|
is_intensive_task = False
|
||||||
|
|
||||||
# update source files from git
|
# 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'])
|
cmd.append(['git', 'pull'])
|
||||||
|
|
||||||
if multiversion_build:
|
if multiversion_build:
|
||||||
|
Loading…
Reference in New Issue
Block a user