summaryrefslogtreecommitdiff
path: root/git-repair.hs
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-01-02 18:07:10 +0000
committerSean Whitton <spwhitton@spwhitton.name>2020-01-02 18:07:10 +0000
commit1092316ba04116d7ae1d4cdf347804feacef768a (patch)
treefbc819794d4202a4ac778f0f6be57eedef7518dd /git-repair.hs
parentd1e0531dd8e8b842349421a898b74b212d2157e8 (diff)
parent50a5a7b101cc9c30a5a04b4c20cbf7f99fcab0ef (diff)
downloadgit-repair-1092316ba04116d7ae1d4cdf347804feacef768a.tar.gz
Merge tag '1.20200102'
tagging package git-repair version 1.20200102
Diffstat (limited to 'git-repair.hs')
-rw-r--r--git-repair.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/git-repair.hs b/git-repair.hs
index a82d5d6..ce4d16a 100644
--- a/git-repair.hs
+++ b/git-repair.hs
@@ -2,7 +2,7 @@
-
- Copyright 2013 Joey Hess <joey@kitenet.net>
-
- - Licensed under the GNU GPL version 3 or higher.
+ - Licensed under the GNU AGPL version 3 or higher.
-}
import Options.Applicative
@@ -14,7 +14,7 @@ import qualified Git.Config
import qualified Git.Construct
import qualified Git.Destroyer
import qualified Git.Fsck
-import Utility.Tmp
+import Utility.Tmp.Dir
data Settings = Settings
{ forced :: Bool
@@ -46,7 +46,9 @@ parseSettings = Settings
)
main :: IO ()
-main = execParser opts >>= go
+main = do
+ useFileSystemEncoding
+ execParser opts >>= go
where
opts = info (helper <*> parseSettings) desc
desc = fullDesc