Adds the commit to the output folder #40

Merged
JorgeGonz merged 1 commit from feature/writeGitCommit into development 2023-02-09 16:50:37 +01:00
Showing only changes of commit 60477481dd - Show all commits

Adds the commit to the output folder

I thought it will be a good idea to write the commit into the output
folder to better track the code version responsible for the results.
Jorge Gonzalez 2023-02-09 16:48:49 +01:00

View file

@ -518,6 +518,11 @@ MODULE moduleSolver
INTEGER, INTENT(in):: t
IF (t == tInitial) THEN
CALL SYSTEM('git rev-parse HEAD > ' // path // folder // '/' // 'fpack_commit.txt')
END IF
counterOutput = counterOutput + 1
IF (counterOutput >= triggerOutput .OR. &
t == tFinal .OR. t == tInitial) THEN