Sha256: 5d1252e72dd228e9792abacdb5581866e27cdd7b6f7497bffd6e5e1aba9b33fb

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

require 'common/util'
module GitCommands
  def handle_merge_conflict(e)
    if e.message.match %r[Merge conflict in]
      Util.logger.error %q(***** Hint: this looks like a merge conflict.
          Try fixing the conflicts, then run `git add .` and then run the previous command again.)
    end
    raise e
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
straight_line-0.1.0.0 lib/common/git_commands.rb