Skip to content

Commit 5554c18

Browse files
author
root
committed
Merge forgotten PR (f757de9)
1 parent e488171 commit 5554c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/redmine_git_hosting/patches/repository_git_patch.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def gitolite_hook_key
318318

319319

320320
def empty?
321-
if extra_info.nil? || !extra_info.has_key?('heads')
321+
if extra_info.nil? || ( !extra_info.has_key?('heads') && !extra_info.has_key?('branches') )
322322
return true
323323
else
324324
return false

0 commit comments

Comments
 (0)