diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-11-30 13:28:30 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-11-30 14:40:17 +0100 |
commit | 773dd51aec39ef4ef8d5818ffe279b0737d4d567 (patch) | |
tree | f26033b2c0294857d25cf6dc5aa0a5b7791663c3 /app/History/IssueEvent.hs | |
parent | 4718d91d1a641b255fec2dd8a9b36fd3d4e60ea6 (diff) |
feat: add -p|--patch to log command
Diffstat (limited to 'app/History/IssueEvent.hs')
-rw-r--r-- | app/History/IssueEvent.hs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/app/History/IssueEvent.hs b/app/History/IssueEvent.hs index 88886dd..933b047 100644 --- a/app/History/IssueEvent.hs +++ b/app/History/IssueEvent.hs @@ -1,19 +1,24 @@ module History.IssueEvent (IssueEvent (..)) where +import Data.Text qualified as T import History.CommitHash (CommitHash) import Issue (Issue) data IssueEvent = IssueCreated { hash :: CommitHash, - issue :: Issue + issue :: Issue, + patch :: T.Text } | IssueChanged { hash :: CommitHash, - issue :: Issue + oldIssue :: Issue, + issue :: Issue, + patch :: T.Text } | IssueDeleted { hash :: CommitHash, - issue :: Issue + issue :: Issue, + patch :: T.Text } deriving (Show) |