def changing(*files)
      support! :file_stats

      commits = CommitCollection.new
      each do |commit|
        commit_files = commit.added_files + commit.deleted_files + commit.modified_files
        commits << commit unless (commit_files & files).empty?
      end
      commits
    end
def changing(*files)
      support! :file_stats

      commits = CommitCollection.new
      each do |commit|
        commit_files = commit.added_files + commit.deleted_files + commit.modified_files
        commits << commit unless (commit_files & files).empty?
      end
      commits
    end
Returns the commits in this collection that change any of the given files

 @param [Array<String>] files The path of the files to filter commits by
 @return [CommitCollection] The commits that contain changes to the given
         files
 @see Commit#added_files
 @see Commit#deleted_files
 @see Commit#modified_files