flake8
passed.
JSHint
passed.
Review Request #13578 — Created Feb. 27, 2024 and submitted
For a long time, I've noticed that filenames are duplicated in the
review request emails. Having had my head in the commit code, I finally
realized why: we're iterating overDiffSet.files.all()
, which includes
both the files in the commit(s) as well as the files in the cumulative
diff.This change fixes it so we iterate over the
cumulative_files
property,
which shows only the FileDiffs in the cumulative diff.
Looked at the review request email previews and no longer saw duplicated
filenames.
Summary | ID |
---|---|
775374bebc4f6143923cd6aef2c729559782d735 |