mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-07 07:19:57 +02:00
fix headerRegexp
This commit is contained in:
parent
5f9de1f034
commit
2484ec9c11
@ -9,7 +9,7 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
var headerRegexp = regexp.MustCompile(`(?m)^@@ -(\\d+)[^\\+]+\\+(\\d+)[^@]+@@(.*)$`)
|
||||
var headerRegexp = regexp.MustCompile(`(?m)^@@ -(\d+)[^\+]+\+(\d+)[^@]+@@(.*)$`)
|
||||
|
||||
type PatchHunk struct {
|
||||
header string
|
||||
|
Loading…
x
Reference in New Issue
Block a user