# File lib/rubocop/git/options.rb, line 22
      def cached=(cached_)
        if cached_ && !@commits.empty?
          fail Invalid, 'cached and commit cannot be specified together'
        end
        @cached = !!cached_
      end