Skip to content
Snippets Groups Projects
Commit 75622a93 authored by David Klein's avatar David Klein
Browse files

Reintroduce writing of git information to log file (latest commit tag, changes...

Reintroduce writing of git information to log file (latest commit tag, changes relative to the latest commit).
parent b69f943c
No related branches found
No related tags found
1 merge request!155A coupled of fixes and improvements to the start scripts
......@@ -169,6 +169,12 @@ prepare <- function() {
}
}
# Display git information
cat("\n===== git info =====\nLatest commit: ")
cat(try(system("git show -s --format='%h %ci %cn'", intern=TRUE), silent=TRUE),"\nChanges since then: ")
cat(paste(try(system("git status", intern=TRUE), silent=TRUE),collapse="\n"))
cat("\n====================\n")
load("config.Rdata")
# Store results folder of current scenario
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment