function rubocop_changed_in_branch() {
  rubocop $@ `git_files_changed_vs_origin_master` || return $?
}

function rubocop_changed_in_branch() {
  rubocop $@ `git_files_changed_vs_origin_master | grep -v "^Gemfile.lock$" | grep -v "^.eslintrc$"` || return $?
}

Exclude common files causing problems
Exclude common files causing problems
