[OCaml] Mobile-friendly clone of cgit.
Remove misleading Tree.t.hash field
This was the OCaml structural hash (Int.to_string of Tree.hash), not the git object SHA. It was never read anywhere, so remove it entirely.
Changed files
lib/resolvers.ml
@@ -262,12 +262,11 @@
262
262
end
263
263
264
264
module Tree = struct
265
Removed:
type t = { hash : string; entries : Entry.t list }
265
Added:
type t = { entries : Entry.t list }
266
266
267
267
let to_t tree =
268
Removed:
let hash = Store.Value.Tree.hash tree |> Int.to_string in
269
268
let entries = Store.Value.Tree.to_list tree |> List.map Entry.to_t in
270
Removed:
{ hash; entries }
269
Added:
{ entries }
271
270
272
271
let of_id repo id =
273
272
let* store = store repo in
ogit.opam
@@ -14,6 +14,7 @@
14
14
"dream-html" {>= "3.11.2"}
15
15
"git" {>= "3.18.0"}
16
16
"git-unix" {>= "3.18.0"}
17
Added:
"crunch" {>= "4.0.0"}
17
18
"ocamlformat" {with-dev-setup & = "0.29.0"}
18
19
"toml" {>= "7.1.0"}
19
20
"odoc" {with-doc}