forked from eternalNight/git-autotester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grit_commit.pat
24 lines (24 loc) · 851 Bytes
/
grit_commit.pat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
15a16
> lazy_reader :mergetag_object
143d143
<
154a155,157
> # Modified by objectkuan
> # Email: [email protected]
> # Added: && lines[0] !~ /^mergetag object /
156c159
< committer_line << lines.shift if lines[0] && lines[0] != '' && lines[0] !~ /^encoding/
---
> committer_line << lines.shift if lines[0] && lines[0] != '' && lines[0] !~ /^encoding/ && lines[0] !~ /^mergetag object /
160a164,174
>
> # Modified by objectkuan
> # Email: [email protected]
> # Added: mertags
> mergetag_object = nil
> while (mergetag_object = lines.shift if lines[0] =~ /^mergetag object /)
> break if mergetag_object.empty?
> mergetag_object_lines = []
> mergetag_object_lines << lines.shift[1..-1] while lines.first =~ /^ {1}/
> end
>