Prepared for gitolite v3

This commit is contained in:
randx 2012-08-29 02:03:04 +03:00
parent 1f5e2658f5
commit ad3a88cfd3
5 changed files with 15 additions and 11 deletions

View file

@ -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?