Sha256: 438df4d48914c07dd2b71a43035b4ef850b13c74af6f5995b1a081b5bb9b133c

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

module Capistrano
  module Jira
    class CommitFinder
      include Finder

      execute do
        `git log -n#{fetch(:jira_commit_messages_limit)} --no-merges --pretty=format:"%h %s"`
          .split("\n").map { |log| Commit.new(log) }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-jira-0.3.1 lib/capistrano/jira/commit_finder.rb