Skip to content

Commit 95c2866

Browse files
author
root
committed
1 parent e856852 commit 95c2866

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def diff(path, identifier_from, identifier_to = nil, opts = {})
7979
# Monkey patch *tags* method to fix http://www.redmine.org/issues/18923
8080
#
8181
def tags
82-
return @tags if @tags
82+
return @tags if !@tags.nil?
83+
@tags = []
8384
cmd_args = %w|tag|
8485
git_cmd(cmd_args) do |io|
8586
@tags = io.readlines.sort!.map{ |t| t.strip }

0 commit comments

Comments
 (0)