mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-04 03:48:07 +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…
Reference in New Issue
Block a user