diff options
author | 2010-10-12 12:31:19 -0400 | |
---|---|---|
committer | 2010-10-12 12:31:19 -0400 | |
commit | 8a3ea4edcbf1cc7059d5382ca84d0033cd9152c6 (patch) | |
tree | cd7e079d4dc046ac2fd974e17499c36a4d710990 /GitRepo.hs | |
parent | 10b7c405fa427b5657d2336974a7e0a19ed098ff (diff) |
typo
Diffstat (limited to 'GitRepo.hs')
-rw-r--r-- | GitRepo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GitRepo.hs b/GitRepo.hs index 21b37519b..f3c959bec 100644 --- a/GitRepo.hs +++ b/GitRepo.hs @@ -174,7 +174,7 @@ gitConfigParse s = Map.fromList $ map pair $ lines s {- Returns a single git config setting, or a default value if not set. -} gitConfig :: GitRepo -> String -> String -> String gitConfig repo key defaultValue = - Map.findWithDefault key defaultValue (config repo) + Map.findWithDefault defaultValue key (config repo) {- Returns a list of a repo's configured remotes. -} gitConfigRemotes :: GitRepo -> IO [GitRepo] |