We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99807cb commit 0745377Copy full SHA for 0745377
src/lib/mina_lib/mina_lib.ml
@@ -1307,7 +1307,7 @@ let shorten_commit_id commit_id =
1307
if String.length commit_id < min_commit_id_length then commit_id
1308
else
1309
(* Take the first 8 characters of the commit ID *)
1310
- String.sub ~pos:0 ~len commit_id
+ String.sub ~pos:0 ~len:min_commit_id_length commit_id
1311
1312
let start t =
1313
let commit_id_short = shorten_commit_id t.commit_id in
0 commit comments