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
avm-tools-0.114.0 sub/eac_git/lib/eac_git/local/log.rb
eac_git-0.11.0 lib/eac_git/local/log.rb
avm-tools-0.113.6 sub/eac_git/lib/eac_git/local/log.rb
avm-tools-0.113.5 sub/eac_git/lib/eac_git/local/log.rb
avm-tools-0.113.4 sub/eac_git/lib/eac_git/local/log.rb
avm-tools-0.113.3 sub/eac_git/lib/eac_git/local/log.rb
avm-tools-0.113.2 sub/eac_git/lib/eac_git/local/log.rb
eac_git-0.10.0 lib/eac_git/local/log.rb
avm-tools-0.110.0 vendor/eac_git/lib/eac_git/local/log.rb
avm-tools-0.109.1 vendor/eac_git/lib/eac_git/local/log.rb
eac_git-0.9.0 lib/eac_git/local/log.rb
avm-tools-0.109.0 vendor/eac_git/lib/eac_git/local/log.rb