Skip to content

Commit c9388d9

Browse files
committed
Fix verbosity of git
The lack of parenthesis in this line meant that we'd only see the verbose output from git when we had a `peerLocalDir`. This should fix verbosity of git
1 parent ed9968c commit c9388d9

File tree

1 file changed

+5
-4
lines changed
  • cabal-install/src/Distribution/Client

1 file changed

+5
-4
lines changed

cabal-install/src/Distribution/Client/VCS.hs

+5-4
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,11 @@ vcsGit =
637637
cloneArgs =
638638
["clone"]
639639
++ depthIs1
640-
++ [ "--no-checkout", loc, localDir]
641-
++ case peer of
642-
Nothing -> []
643-
Just peerLocalDir -> ["--reference", peerLocalDir]
640+
++ ["--no-checkout", loc, localDir]
641+
++ ( case peer of
642+
Nothing -> []
643+
Just peerLocalDir -> ["--reference", peerLocalDir]
644+
)
644645
++ verboseArg
645646
where
646647
loc = srpLocation

0 commit comments

Comments
 (0)