summaryrefslogtreecommitdiff
path: root/git-repair.cabal
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-11-20 15:14:20 -0400
committerJoey Hess <joey@kitenet.net>2013-11-20 15:14:20 -0400
commit6d67245728bbbc07ad1eeaf5b3c49f64c6bbcd11 (patch)
treefb9fbeb6820e46eef37270a60704947e5aad4bed /git-repair.cabal
parentc2cd79e09b5aad1d634c58f5a130654649e25c49 (diff)
downloadgit-repair-6d67245728bbbc07ad1eeaf5b3c49f64c6bbcd11.tar.gz
try to recover even if git fsck cannot be coaxed to tell us any bad objects
Sometimes git fsck outputs no shas even with --verbose, but fails, due to badly corrupt objects. The best thing to do in this situation is to try to pull and rsync from remotes, hoping that the bad objects will be overwritten.
Diffstat (limited to 'git-repair.cabal')
-rw-r--r--git-repair.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-repair.cabal b/git-repair.cabal
index a74b117..77150ee 100644
--- a/git-repair.cabal
+++ b/git-repair.cabal
@@ -19,7 +19,7 @@ Description:
Executable git-repair
Main-Is: git-repair.hs
- GHC-Options: -Wall
+ GHC-Options: -Wall -threaded
Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl,
network, extensible-exceptions, unix-compat, bytestring,
base >= 4.5, base < 5, IfElse, text, process,
@@ -30,7 +30,7 @@ Executable git-repair
Executable test-runner
Main-Is: test-runner.hs
- GHC-Options: -Wall
+ GHC-Options: -Wall -threaded
Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl,
network, extensible-exceptions, unix-compat, bytestring,
base >= 4.5, base < 5, IfElse, text, process,