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