Merge pull request 'Log before and after restoring/fetching git state' (#26) from log-before-git-operation into main
Reviewed-on: https://git.robur.io/robur/opam-mirror/pulls/26
This commit is contained in:
commit
c46f15baa3
1 changed files with 2 additions and 0 deletions
|
@ -777,6 +777,7 @@ stamp: %S
|
|||
Lwt.return_unit
|
||||
else
|
||||
begin
|
||||
Logs.info (fun m -> m "Initializing git state. This may take a while...");
|
||||
(if Key_gen.ignore_local_git () then
|
||||
Lwt.return (Error ())
|
||||
else
|
||||
|
@ -787,6 +788,7 @@ stamp: %S
|
|||
dump_git git_dump git_kv >|= fun () ->
|
||||
git_kv
|
||||
end >>= fun git_kv ->
|
||||
Logs.info (fun m -> m "Done initializing git state!");
|
||||
Serve.commit_id git_kv >>= fun commit_id ->
|
||||
Logs.info (fun m -> m "git: %s" commit_id);
|
||||
Serve.create git_kv >>= fun serve ->
|
||||
|
|
Loading…
Reference in a new issue