scm: git: remove unused "block_given?" from adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5673 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-06 13:49:10 +00:00
parent e9e477426a
commit 1194235faa
1 changed files with 3 additions and 12 deletions

View File

@ -214,11 +214,7 @@ module Redmine
:message => changeset[:description],
:paths => files
})
if block_given?
yield revision
else
revisions << revision
end
revisions << revision
changeset = {}
files = []
end
@ -263,13 +259,8 @@ module Redmine
:time => Time.parse(changeset[:date]),
:message => changeset[:description],
:paths => files
})
if block_given?
yield revision
else
revisions << revision
end
})
revisions << revision
end
end
revisions