Skip to content

Commit

Permalink
Stabilize a comment that breaks Ormolu idempotency
Browse files Browse the repository at this point in the history
Ormolu has [a few problems with idempotency of
comments](https://github.com/tweag/ormolu/issues?q=is%3Aissue+idempotent+comment+is%3Aopen+).
So this converts the one instance that affects us into Haddock that
can’t be moved.
  • Loading branch information
sellout committed Nov 27, 2024
1 parent d17b1f6 commit 9ca3fc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unison-cli/src/Unison/Codebase/Editor/Input.hs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ data Input
| PullI !PullSourceTarget !PullMode
| PushRemoteBranchI PushRemoteBranchInput
| ResetI (BranchId2 {- namespace to reset it to -}) (Maybe UnresolvedProjectBranch {- ProjectBranch to reset -})
| -- todo: Q: Does it make sense to publish to not-the-root of a Github repo?
| -- | used in Welcome module to give directions to user
--
-- todo: Q: Does it make sense to publish to not-the-root of a Github repo?
-- Does it make sense to fork from not-the-root of a Github repo?
-- used in Welcome module to give directions to user
CreateMessage (P.Pretty P.ColorText)
| -- Change directory.
SwitchBranchI Path'
Expand Down

0 comments on commit 9ca3fc9

Please sign in to comment.