Skip to content

Commit 3444c60

Browse files
authored
Merge pull request #5701 from unisonweb/cp/honest-merge
2 parents f4a9b0b + e1b236b commit 3444c60

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

unison-cli/src/Unison/Codebase/Editor/HandleInput/Pull.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ handlePull unresolvedSourceAndTarget pullMode = do
8787
void $ Cli.updateAtM description targetProjectPath (const $ pure remoteBranchObject)
8888
Cli.respond $ MergeOverEmpty target
8989
else do
90-
Cli.respond AboutToMerge
91-
9290
let aliceCausalHash = Branch.headHash targetBranch
9391
lcaCausalHash <- Cli.runTransaction (Operations.lca aliceCausalHash remoteCausalHash)
9492

unison-cli/src/Unison/Codebase/Editor/Output.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ data Output
308308
| PullSuccessful
309309
(ReadRemoteNamespace Share.RemoteProjectBranch)
310310
(ProjectAndBranch Sqlite.Project Sqlite.ProjectBranch)
311-
| AboutToMerge
312311
| -- | Indicates a trivial merge where the destination was empty and was just replaced.
313312
MergeOverEmpty (ProjectAndBranch Sqlite.Project Sqlite.ProjectBranch)
314313
| MergeAlreadyUpToDate2 !MergeSourceAndTarget
@@ -584,7 +583,6 @@ isFailure o = case o of
584583
NoBranchWithHash {} -> True
585584
PullAlreadyUpToDate {} -> False
586585
PullSuccessful {} -> False
587-
AboutToMerge {} -> False
588586
MergeOverEmpty {} -> False
589587
MergeAlreadyUpToDate2 {} -> False
590588
ListShallow _ es -> null es

unison-cli/src/Unison/CommandLine/OutputMessages.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,6 @@ notifyUser dir = \case
11911191
<> prettyProjectAndBranchName (ProjectAndBranch dest.project.name dest.branch.name)
11921192
<> "from"
11931193
<> P.group (prettyReadRemoteNamespace ns <> ".")
1194-
AboutToMerge -> pure "Merging..."
11951194
MergeOverEmpty dest ->
11961195
pure . P.okCallout $
11971196
P.wrap $

0 commit comments

Comments
 (0)