Permalink
Browse files

Merge branch 'master' of git@github.com:capistrano/capistrano

  • Loading branch information...
2 parents 4ec99f6 + 74f7a7b commit a76049f98d1b2c209d4bc5243722af511b5b0236 @leehambley leehambley committed Aug 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/recipes/deploy/scm/git.rb
View
2 lib/capistrano/recipes/deploy/scm/git.rb
@@ -223,7 +223,7 @@ def query_revision(revision)
newrev = nil
revdata.each_slice(2) do |refs|
rev, ref = *refs
- if ref.sub(/refs\/.*?\//, '').strip == revision
+ if ref.sub(/refs\/.*?\//, '').strip == revision.to_s
newrev = rev
break
end

0 comments on commit a76049f

Please sign in to comment.