diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-27 10:12:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-27 10:12:15 +0000 |
commit | a73f68a185df00db1aaa153f576f106ee752c54d (patch) | |
tree | 09fab2647035c64e944b7df68e78618eeb6966be /lib/redmine/scm/adapters/git_adapter.rb | |
parent | 6a3236daea38f0cf8b62ccf9f1212eb0f0395b08 (diff) | |
download | redmine-a73f68a185df00db1aaa153f576f106ee752c54d.tar.gz redmine-a73f68a185df00db1aaa153f576f106ee752c54d.zip |
Fixed: Links to repository directories don't work (#1119).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1365 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters/git_adapter.rb')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 5d315b0cc..77604f283 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -132,14 +132,6 @@ module Redmine entries.sort_by_name end - def entry(path=nil, identifier=nil) - path ||= '' - search_path = path.split('/')[0..-2].join('/') - entry_name = path.split('/').last - e = entries(search_path, identifier) - e ? e.detect{|entry| entry.name == entry_name} : nil - end - def revisions(path, identifier_from, identifier_to, options={}) revisions = Revisions.new cmd = "#{GIT_BIN} --git-dir #{target('')} log --raw " |