Skip to contentSkip to conversation

scripts/git.orderfile: Display QAPI script changes before schema ones

PATCH Superseded Philippe Mathieu-Daudé 1 participant 2 messages Feb 24, 2023 – Mar 14, 2023

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/git.orderfile: Display QAPI script changes before schema ones

When modifying QAPI scripts and modifying C files along, it makes sense to display QAPI changes first.

---
Failed example:
https://lore.kernel.org/qemu-devel/[email protected]/

---
 scripts/git.orderfile | 2 ++
 1 file changed, 2 insertions(+)
scripts/git.orderfile +2 -0
index 8edac0380b..70adc1a74a 100644
@@ -22,6 +22,8 @@ Makefile*
 *.mak
 meson.build
 
+# qapi scripts
+scripts/qapi*
 # qapi schema
 qapi/*.json
 qga/*.json
Signature · 1 line
2.38.1
#1 lore raw

Cc'ing qemu-trivial@

Quoted 24 lines · Philippe Mathieu-Daudé

When modifying QAPI scripts and modifying C files along, it makes sense to display QAPI changes first.

---
Failed example:
https://lore.kernel.org/qemu-devel/[email protected]/

---
  scripts/git.orderfile | 2 ++
  1 file changed, 2 insertions(+)
scripts/git.orderfile +2 -0
index 8edac0380b..70adc1a74a 100644
@@ -22,6 +22,8 @@ Makefile*
  *.mak
  meson.build
 
+# qapi scripts
+scripts/qapi*
  # qapi schema
  qapi/*.json
  qga/*.json