diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-14 15:30:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-14 15:43:13 -0400 |
commit | 02f1bd2bf47d3ff49a222e9428ec27708ef55f64 (patch) | |
tree | 456548530c65850a829a1a85609070bc111de1b9 /git-union-merge.hs | |
parent | 2b24e16a633575703a43e1fb991f34b290a1d7e4 (diff) |
split more stuff out of Git.hs
Diffstat (limited to 'git-union-merge.hs')
-rw-r--r-- | git-union-merge.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-union-merge.hs b/git-union-merge.hs index f67414bdd..6fd19c8da 100644 --- a/git-union-merge.hs +++ b/git-union-merge.hs @@ -12,6 +12,7 @@ import qualified Git.UnionMerge import qualified Git.Config import qualified Git.Construct import qualified Git.Branch +import qualified Git.Index import qualified Git header :: String @@ -42,7 +43,7 @@ main :: IO () main = do [aref, bref, newref] <- map Git.Ref <$> parseArgs g <- Git.Config.read =<< Git.Construct.fromCwd - _ <- Git.useIndex (tmpIndex g) + _ <- Git.Index.override (tmpIndex g) setup g Git.UnionMerge.merge aref bref g _ <- Git.Branch.commit "union merge" newref [aref, bref] g |