lib/deploy_s3/main.rb in deploy_s3-0.0.1 vs lib/deploy_s3/main.rb in deploy_s3-0.0.2
- old
+ new
@@ -60,10 +60,10 @@
local_sha == remote_sha
end
def local_sha
rev = @options[:rev] || @config[:branch] || 'head'
- execute("git rev-parse --verify --short #{rev}").chomp
+ execute("git rev-parse --verify #{rev}").chomp
end
def diff
execute "git log --pretty=format:' %h %<(20)%an %ar\t %s' -10 #{remote_sha}..#{local_sha}"
end