cope with git-kv change in 0.0.5: digest returns the raw digest
This commit is contained in:
parent
921ee6b684
commit
97f68a85e9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue