##// END OF EJS Templates
scm: git: branches return cache too when there is no branch (#18923)...
Toshi MARUYAMA -
r13545:6097e247f4a6
parent child
Show More
@@ -76,7 +76,7 module Redmine
76 end
76 end
77
77
78 def branches
78 def branches
79 return @branches if @branches
79 return @branches if !@branches.nil?
80 @branches = []
80 @branches = []
81 cmd_args = %w|branch --no-color --verbose --no-abbrev|
81 cmd_args = %w|branch --no-color --verbose --no-abbrev|
82 git_cmd(cmd_args) do |io|
82 git_cmd(cmd_args) do |io|
General Comments 0
You need to be logged in to leave comments. Login now