Skip to content

Commit 9ea6d4e

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 483c5d1 commit 9ea6d4e

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

Lines changed: 5 additions & 4 deletions
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)