1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

split context common from helper common

This commit is contained in:
Jesse Duffield
2023-03-23 12:35:07 +11:00
parent f081358943
commit 43251e7275
55 changed files with 156 additions and 133 deletions

View File

@ -10,13 +10,13 @@ import (
type CommitMessageContext struct {
*SimpleContext
c *types.HelperCommon
c *ContextCommon
}
var _ types.Context = (*CommitMessageContext)(nil)
func NewCommitMessageContext(
c *types.HelperCommon,
c *ContextCommon,
) *CommitMessageContext {
return &CommitMessageContext{
c: c,