Sha256: c7c988a62b473f6abd5e82f2fb683d2548a03598af41cb85f86f5c076a4aa274

Contents?: true

Size: 479 Bytes

Versions: 152

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

require 'eac_git/remote'
require 'eac_ruby_utils/core_ext'

module EacGit
  class Local
    module Log
      def log(until_commit = nil, from_commit = nil)
        until_commit, from_commit = [until_commit, from_commit].map { |c| commitize(c) }
        from_commit ||= head
        command('log', '--format=%H', "#{until_commit.id}..#{from_commit.id}")
          .execute!.each_line.map { |line| commitize(line.strip) }
      end
    end
  end
end

Version data entries

152 entries across 152 versions & 3 rubygems

Version Path
eac_tools-0.40.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.39.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.38.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.37.2 sub/eac_git/lib/eac_git/local/log.rb
eac_git-0.13.0 lib/eac_git/local/log.rb
eac_tools-0.37.1 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.37.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.36.1 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.36.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.35.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.34.0 sub/eac_git/lib/eac_git/local/log.rb
eac_git-0.12.3 lib/eac_git/local/log.rb
eac_tools-0.33.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.32.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.31.1 sub/eac_git/lib/eac_git/local/log.rb
eac_git-0.12.2 lib/eac_git/local/log.rb
avm-tools-0.129.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.16.0 sub/avm-tools/sub/eac_git/lib/eac_git/local/log.rb
avm-tools-0.128.0 sub/eac_git/lib/eac_git/local/log.rb
eac_tools-0.15.0 sub/avm-tools/sub/eac_git/lib/eac_git/local/log.rb