diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 03:03:04 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 03:03:04 +0400 |
commit | ad3a88cfd34aeed5ed69b4056e393580a686fb09 (patch) | |
tree | 72e831390e869c3c1a19bfaa2e297f54eab253ea /app/roles | |
parent | 1f5e2658f53b1214cd197ecad544ba2bd2975766 (diff) |
Prepared for gitolite v3
Diffstat (limited to 'app/roles')
-rw-r--r-- | app/roles/push_event.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/roles/push_event.rb b/app/roles/push_event.rb index ff8e28a2db2..a607f212f2a 100644 --- a/app/roles/push_event.rb +++ b/app/roles/push_event.rb @@ -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? |