Skip to content

Commit 7849526

Browse files
author
root
committed
Fix #259
1 parent c791853 commit 7849526

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
@@ -367,7 +367,7 @@ def gitolite_hook_key
367367

368368

369369
def empty?
370-
if extra_info.nil? || !extra_info.has_key?('heads')
370+
if extra_info.nil? || ( !extra_info.has_key?('heads') && !extra_info.has_key?('branches') )
371371
return true
372372
else
373373
return false

0 commit comments

Comments
 (0)