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