summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/redmine/scm/adapters/git_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb
index 01d0a6044..543246a94 100644
--- a/lib/redmine/scm/adapters/git_adapter.rb
+++ b/lib/redmine/scm/adapters/git_adapter.rb
@@ -115,7 +115,7 @@ module Redmine
Entry.new(:path => '', :kind => 'dir')
else
# Search for the entry in the parent directory
- es = entries(search_path, identifier)
+ es = entries_git(search_path, identifier)
es ? es.detect {|e| e.name == search_name} : nil
end
end