[qt/qtqa/gerrit]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qtqa/gerrit
Pushed by mirror-service into branch 'upstream/master'.
Changed from 90e2c5e37ce80c1e1645194d470f3366fc4868c3 to a4d7423b236ce792d43e208843bca01bebc6e4dd
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 22014c44ac101c105e63b519061d2ffa1c039b86 by Prakash Aswal on 27/07/2026 at 03:58..
Avoid fetching checks twice when the selected patchset is the latest

Skip the redundant fetch request when the selected patchset is the
latest, and show the latest results in its place. When an older patchset
is selected, both are still fetched, so viewing results across patchsets
stays the same.

Add tests for the three cases: no patchset selected, the latest selected
explicitly, and an older patchset selected.

Release-Notes: Gerrit no longer requests checks from providers twice when the selected patchset is the latest one
Change-Id: Ic8d09e4d2b152e9d6612a26e43c49bcbf420d717
https://invent.kde.org/qt/qtqa/gerrit/-/commit/22014c44ac101c105e63b519061d2ffa1c039b86

Git commit ee4a561a36b000ad34c71d2aa67cd9cb50725abd by Milutin Kristofic on 28/07/2026 at 10:18..
Respect .gitattributes diff overrides in diff operations

In Git, users can configure file attributes in .gitattributes to
control if files should be treated as binary or excluded from diffs
(e.g., using -diff or the binary macro). Currently, while JGit parses
these attributes, Gerrit does not respect them, showing textual diffs
for files that should be treated as binary.

Respect the diff attribute parsed by JGit on the DiffEntry when
creating a GitFileDiff:

* If the diff attribute is unset (i.e., -diff or binary macro), override
  the patch type to PatchType.BINARY.
* Clear the list of edits so that the UI does not attempt to render a
  textual diff.

Note: A string value like `diff=false` is ignored because Git interprets
this as a custom diff driver named "false", not as a boolean flag to
disable diffing.

This allows Gerrit to correctly display binary and auto-generated files
(such as large generated JSON files) as binary diffs, matching local
Git behavior.

Added integration tests in DiffOperationsTest verifying normal text
diffs, explicit -diff overrides, and binary macro overrides.

Google-Bug-Id: b/505696274
Release-Notes: Support .gitattributes diff and binary overrides
Change-Id: I1e1d0b8e8c4fbeaebc5b1137ded00d4bc1dc3536
https://invent.kde.org/qt/qtqa/gerrit/-/commit/ee4a561a36b000ad34c71d2aa67cd9cb50725abd

Git commit 626688dbfa3d5f78f9c3cea8d071e63f685a8357 by Gerrit Code Review (on behalf of Nasser Grainawi) on 28/07/2026 at 16:40..
Merge "Avoid fetching checks twice when the selected patchset is the latest"
https://invent.kde.org/qt/qtqa/gerrit/-/commit/626688dbfa3d5f78f9c3cea8d071e63f685a8357

Git commit a4d7423b236ce792d43e208843bca01bebc6e4dd by Gerrit Code Review (on behalf of Nasser Grainawi) on 28/07/2026 at 16:45..
Merge "Respect .gitattributes diff overrides in diff operations"
https://invent.kde.org/qt/qtqa/gerrit/-/commit/a4d7423b236ce792d43e208843bca01bebc6e4dd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.