scm: git: back out r5673 (#7146).

recovery "block_given?" in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5777 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-13 06:03:26 +00:00
parent 4ea8f1637c
commit 38d5925d70
1 changed files with 10 additions and 2 deletions

View File

@ -214,7 +214,11 @@ module Redmine
:message => changeset[:description],
:paths => files
})
revs << revision
if block_given?
yield revision
else
revs << revision
end
changeset = {}
files = []
end
@ -260,7 +264,11 @@ module Redmine
:message => changeset[:description],
:paths => files
})
revs << revision
if block_given?
yield revision
else
revs << revision
end
end
end
revs