diff options
Diffstat (limited to 'pkg/git/patch_modifier.go')
-rw-r--r-- | pkg/git/patch_modifier.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/patch_modifier.go b/pkg/git/patch_modifier.go index b62130324..bb462a3c3 100644 --- a/pkg/git/patch_modifier.go +++ b/pkg/git/patch_modifier.go @@ -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 |