clang-format-diff exits after parsing the first file of the input diff

Bug #2064086 reported by Gaël Bonithon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-defaults (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi, the python script clang-format-diff of the package clang-format has a bug, it displays only a part of its diff, it needs this patch: https://github.com/llvm/llvm-project/commit/d9e3e11ae57612ec61f6fcab4afc27d8d0ff5841
At Xfce, we've recently been using clang-format-diff in CI [1], with Ubuntu 24.04 and therefore clang-format-18, which is affected by this bug.
Is there any hope that clang-format-18 will be patched in Debian and/or Ubuntu to integrate this patch, or should we upload the latest version of clang-format-diff in our container? Thanks!

[1] https://gitlab.xfce.org/xfce/xfce4-dev-tools/-/merge_requests/101

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.