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:
1 parent
ff6ed900fc
commit
c6a77d1900
1 file changed
+6
@@ -29,6 +29,12 @@ class Repository::Git < Repository
|
|||||||
'Git'
|
'Git'
|
||||||
end
|
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
|
def fetch_changesets
|
||||||
scm_info = scm.info
|
scm_info = scm.info
|
||||||
if scm_info
|
if scm_info
|
||||||
|
|||||||
Reference in new issue
Block a user