Revert "Predicates to check commit messages and edits"
This reverts commit 0cec9e6f7f
This change breaks gerrit-server per:
* Martin Fick
* Anatol Pomazau
* Edwin Kempin.
This commit is contained in:

committed by
Android Code Review

parent
0cec9e6f7f
commit
70992c7c32
@@ -394,12 +394,3 @@ split_commit_delta(rename, NewPath, OldPath, delete, OldPath).
|
||||
split_commit_delta(rename, NewPath, OldPath, add, NewPath) :- !.
|
||||
split_commit_delta(copy, NewPath, OldPath, add, NewPath) :- !.
|
||||
split_commit_delta(Type, Path, _, Type, Path).
|
||||
|
||||
|
||||
%% commit_message_matches/1:
|
||||
%%
|
||||
:- public commit_message_matches/1.
|
||||
%%
|
||||
commit_message_matches(Pattern) :-
|
||||
commit_message(Msg),
|
||||
regex_matches(Pattern, Msg).
|
||||
|
Reference in New Issue
Block a user