public
Description: Simple Capistrano plugin to post a Basecamp message for each deploy listing the git commit messages that happened since the last deploy
Clone URL: git://github.com/scoop/basecamp_notify.git
Added ability to specify a custom git log format
scoop (author)
Thu Jul 03 09:52:16 -0700 2008
commit  a7d77567cbc012e44ed752c34cdd9381ef54d173
tree    d86c6e8b9dd163acc6f65a3d1ff866079cf6fada
parent  e28aa3b9131cdad6ecdac4e189edb20b354544ff
...
25
26
27
28
 
29
30
31
...
25
26
27
 
28
29
30
31
0
@@ -25,7 +25,7 @@ namespace :basecamp do
0
   def grab_revision_log
0
     case scm.to_sym
0
       when :git
0
- %x( git log --pretty=format:"* [%h, %an] %s" #{previous_revision}..#{current_revision} )
0
+ %x( git log --pretty=format:"* #{ basecamp_config['git_log_format'] || "[%h, %an] %s"}" #{previous_revision}..#{current_revision} )
0
       when :subversion
0
         format_svn_log current_revision, previous_revision
0
     end

Comments

    No one has commented yet.