mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-12 04:03:08 +00: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:
parent
ff6ed900fc
commit
c6a77d1900
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user