We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d6c8e commit a187bf7Copy full SHA for a187bf7
src/repository/opamGit.ml
@@ -157,10 +157,7 @@ module VCS : OpamVCS.VCS = struct
157
match r.OpamProcess.r_stdout with
158
| [] -> Done None
159
| full::_ ->
160
- if String.length full > 8 then
161
- Done (Some (String.sub full 0 8))
162
- else
163
- Done (Some full))
+ Done (Some full))
164
165
let clean repo_root =
166
git repo_root [ "clean"; "-fdx" ]
src/repository/opamHg.ml
@@ -53,8 +53,7 @@ module VCS = struct
53
54
55
56
- if String.length full > 8 then Done (Some (String.sub full 0 8))
57
- else Done (Some full)
+ Done (Some full)
58
59
60
hg repo_root ["revert"; "--all"; "--no-backup"]
0 commit comments