module Avmtrf1::Git::PushLarge::LfsCommit::Push

def check_push_result(result)

def check_push_result(result)
  if result.fetch(:exit_code).zero?
    on_push_result_ok
  elsif result.fetch(:stderr).include?(PACK_ERROR_MESSAGE)
    on_push_result_pack_error
  else
    on_push_result_arbitrary_error(result)
  end
end