diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-04-06 18:40:28 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-04-06 18:40:28 -0400 |
commit | 9de9f5aad4ec0275e3c544fcb26588ea0e755760 (patch) | |
tree | 492124ae7448a3e287b0c1f4af855aec727c736b /Annex/Direct.hs | |
parent | 070b1a03392ab3962eb43f60f32fde5c1b9b70d2 (diff) |
run out of tree merge with --no-ff
This is how direct mode does it too, and somehow, for reasons that
currently escape me, this makes git merge not care if it's run with an
empty work tree.
Diffstat (limited to 'Annex/Direct.hs')
-rw-r--r-- | Annex/Direct.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Direct.hs b/Annex/Direct.hs index cd0835f04..782803e71 100644 --- a/Annex/Direct.hs +++ b/Annex/Direct.hs @@ -204,6 +204,7 @@ stageMerge d branch commitmode = do -- has been updated, which would leave things in an inconsistent -- state if mergeDirectCleanup is interrupted. -- <http://marc.info/?l=git&m=140262402204212&w=2> + liftIO $ print ("stagemerge in", d) merger <- ifM (coreSymlinks <$> Annex.getGitConfig) ( return Git.Merge.stageMerge , return $ \ref -> Git.Merge.mergeNonInteractive ref commitmode |