We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3774e26 commit 3c19e4cCopy full SHA for 3c19e4c
lib/overcommit/hook/base.rb
@@ -286,10 +286,6 @@ def exclude_branch_patterns
286
@config['exclude_branch_patterns'] || []
287
end
288
289
- def exclude_remote_names
290
- @config['exclude_remote_names'] || []
291
- end
292
-
293
def current_branch
294
@current_branch ||= Overcommit::GitRepo.current_branch
295
lib/overcommit/hook/pre_push/base.rb
@@ -21,6 +21,10 @@ def skip_for_remote_branch_deletion?
21
ignore_branch_deletions? && @context.remote_branch_deletion?
22
23
24
+ def exclude_remote_names
25
+ @config['exclude_remote_names'] || []
26
+ end
27
+
28
def ignore_branch_deletions?
29
@config['ignore_branch_deletions'] != false
30
0 commit comments