Closed lode closed 2 years ago
Changes git diff <base> to git diff --staged. The first one also returns changes from base to working-dir, and thus includes working-dir and committed files. The second only returns changes in the staging area.
git diff <base>
git diff --staged
Currently, this actually only fixes the file paths, which is one of the issues in https://github.com/danger/danger-js/issues/1304. It doesn't fix the diffs yet. See https://github.com/danger/danger-js/issues/1304 for more details.
Thanks!
Changes
git diff <base>
togit diff --staged
. The first one also returns changes from base to working-dir, and thus includes working-dir and committed files. The second only returns changes in the staging area.Currently, this actually only fixes the file paths, which is one of the issues in https://github.com/danger/danger-js/issues/1304. It doesn't fix the diffs yet. See https://github.com/danger/danger-js/issues/1304 for more details.