cope with git-kv change in 0.0.5: digest returns the raw digest

This commit is contained in:
Hannes Mehnert 2024-11-13 12:47:23 +01:00
parent 921ee6b684
commit 97f68a85e9

View file

@ -590,7 +590,7 @@ module Make
let commit_id git_kv =
Store.digest git_kv Mirage_kv.Key.empty >|= fun r ->
Result.fold r ~ok:Fun.id
Result.fold r ~ok:Ohex.encode
~error:(fun e ->
Logs.err (fun m -> m "%a" Store.pp_error e);
exit 2)