flake8
passed.
JSHint
passed.
Review Request #13675 — Created March 28, 2024 and submitted
When viewing a range of commits, we weren't properly choosing the
original file attachment. This change makes it so if there's a
base_filediff
present in the diff file information, we load the
attachment that is connected to that filediff.
Posted a change that involved several commits to the same image file.
Selected various commit ranges and got the correct diffs for each commit
range.
reviewboard/reviews/views/diff_fragments.py (Diff revision 1) |
---|
Can we pass the bool as a keyword argument, so this is more self-documenting?
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+52 -36) |