mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 05:16:32 +02:00
Fixed file history for git repository.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1219 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -29,6 +29,12 @@ class Repository::Git < Repository
|
||||
'Git'
|
||||
end
|
||||
|
||||
def changesets_for_path(path)
|
||||
Change.find(:all, :include => :changeset,
|
||||
:conditions => ["repository_id = ? AND path = ?", id, path],
|
||||
:order => "committed_on DESC, #{Changeset.table_name}.revision DESC").collect(&:changeset)
|
||||
end
|
||||
|
||||
def fetch_changesets
|
||||
scm_info = scm.info
|
||||
if scm_info
|
||||
|
||||
Reference in New Issue
Block a user