Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
┌ Warning: The Git repository is dirty! Appending _dirty to the commit ID
└ @ DrWatson ~/.julia/packages/DrWatson/nuHUe/src/saving_tools.jl:54
ERROR: LoadError: failed process: Process(`git -C /home/datseris/embeddingresearch-george diff HEAD`, ProcessExited(129)) [129]
Stacktrace:
[1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
[2] pipeline_error at ./process.jl:785 [inlined]
[3] read(::Cmd) at ./process.jl:699
[4] read(::Cmd, ::Type{String}) at ./process.jl:708
[5] gitpatch(::String) at /home/datseris/.julia/packages/DrWatson/nuHUe/src/saving_tools.jl:89
[6] #tag!#12(::String, ::Bool, ::Bool, ::LineNumberNode, ::Function, ::Dict{String,Any}) at /home/datseris/.julia/packages/DrWatson/nuHUe/src/saving_tools.jl:128
[7] #tag! at ./none:0 [inlined]
[8] #tagsave#25(::Bool, ::String, ::Bool, ::Bool, ::LineNumberNode, ::Function, ::String, ::Dict{String,Any}) at /home/datseris/.julia/packages/DrWatson/nuHUe/src/saving_files.jl:87
[9] (::getfield(DrWatson, Symbol("#kw##tagsave")))(::NamedTuple{(:source,),Tuple{LineNumberNode}}, ::typeof(tagsave), ::String, ::Dict{String,Any}) at ./none:0
[10] top-level scope at /home/datseris/embeddingresearch-george/scripts/lightcone/lightjob.jl:27
[11] include at ./boot.jl:326 [inlined]
[12] include_relative(::Module, ::String) at ./loading.jl:1038
[13] include(::Module, ::String) at ./sysimg.jl:29
[14] exec_options(::Base.JLOptions) at ./client.jl:267
[15] _start() at ./client.jl:436
in expression starting at /home/datseris/embeddingresearch-george/scripts/lightcone/lightjob.jl:25
My entire job crashed afterwards. This came from the change to save the git DIFF. I think we must add a failsafe try-catch
there as well, so that if it fails then there is no collapse just before the data are saved...