gitlab-org--gitlab-foss/danger
Lukas Eipert 253e1818aa
Create helper to get all changed files
Danger apparently has three different objects which could contain files
you often want to check:

 - git.added_files
 - git.modified_files
 - git.renamed_files

The problem: If a file is renamed, `modified_files` contains the file
path before the rename. In some Danger checks we use `added_files` +
`modified_files`, which might contain the deleted paths of renamed
files, but missing the new paths of renamed files.

So we need to consider `renamed_files` as well.
2018-10-22 11:04:55 +02:00
..
changelog
changes_size
commit_messages
database Create helper to get all changed files 2018-10-22 11:04:55 +02:00
documentation Create helper to get all changed files 2018-10-22 11:04:55 +02:00
eslint Create helper to get all changed files 2018-10-22 11:04:55 +02:00
frozen_string
gemfile
metadata
plugins Create helper to get all changed files 2018-10-22 11:04:55 +02:00
prettier Create helper to get all changed files 2018-10-22 11:04:55 +02:00
specs