Skip to content

Instantly share code, notes, and snippets.

@mwmitchell
Created March 27, 2009 00:09
Show Gist options
  • Save mwmitchell/86457 to your computer and use it in GitHub Desktop.
Save mwmitchell/86457 to your computer and use it in GitHub Desktop.
# This will execute the Git revision parsing on the *remote* server rather than locally
# from "filmprog" on #capistrano/irc.freenode.net
set :real_revision, lambda { source.query_revision(revision) { |cmd| capture(cmd) } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment