Skip to content

Commit b7c8bf4

Browse files
committed
remove useless trim
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 1fefa4b commit b7c8bf4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/dune_engine/vcs.ml

+1-3
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,7 @@ let describe =
142142
@@ make_fun "vcs-describe"
143143
~doc:"Obtain a nice description of the tip from the vcs"
144144
~output:(Simple (module Option_output (String)))
145-
~git:(fun t ->
146-
run_git t [ "describe"; "--always"; "--dirty" ]
147-
|> Fiber.map ~f:(Option.map ~f:String.trim))
145+
~git:(fun t -> run_git t [ "describe"; "--always"; "--dirty" ])
148146
~hg:(fun x ->
149147
let open Fiber.O in
150148
let+ res = hg_describe x in

0 commit comments

Comments
 (0)