Prepared for gitolite v3
This commit is contained in:
parent
1f5e2658f5
commit
ad3a88cfd3
5 changed files with 15 additions and 11 deletions
|
@ -90,6 +90,8 @@ module PushEvent
|
|||
|
||||
def push_with_commits?
|
||||
md_ref? && commits.any? && parent_commit && last_commit
|
||||
rescue Grit::NoSuchPathError
|
||||
false
|
||||
end
|
||||
|
||||
def last_push_to_non_root?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue