Sha256: 9c554b48264e470a9664905e4be9f9e1492c392d62b0c40d6baa55ac6989a8fd

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

require "open3"
require "rfix"
require "rfix/log"
require "rfix/cmd"

module Rfix::GitHelper
  include Rfix::Log
  include Rfix::Cmd

  def git(*args, &block)
    cmd("git", *args, &block)
  end

  def params
    [
      "--word-diff-regex=[^[:space:]]",
      "--no-renames",
      "--no-merges",
      "--first-parent",
      "--find-renames",
      "--find-copies",
      "--diff-filter=AMCR",
      "-U0",
      "--no-color",
      "-p"
    ]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rfix-1.0.8.pre.108 lib/rfix/git_helper.rb
rfix-1.0.7.pre.68 lib/rfix/git_helper.rb
rfix-1.0.7.pre.67 lib/rfix/git_helper.rb
rfix-1.0.7.pre.66 lib/rfix/git_helper.rb