Skip to content

Commit 3e0a447

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 997f2f3 commit 3e0a447

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
@@ -634,10 +634,11 @@ vcsGit =
634634
cloneArgs =
635635
["clone"]
636636
++ depthIs1
637-
++ [ "--no-checkout", loc, localDir]
638-
++ case peer of
639-
Nothing -> []
640-
Just peerLocalDir -> ["--reference", peerLocalDir]
637+
++ ["--no-checkout", loc, localDir]
638+
++ ( case peer of
639+
Nothing -> []
640+
Just peerLocalDir -> ["--reference", peerLocalDir]
641+
)
641642
++ verboseArg
642643
where
643644
loc = srpLocation

0 commit comments

Comments
 (0)