[PATCH v2 01/12] devtools: fix matching in doc check

David Marchand david.marchand at redhat.com
Wed Oct 21 12:30:15 CEST 2026


The current user (rte_flow) of has_code_change pass what looks like
a regular expression, while -S matches exact strings.

Use -G.

Fixes: 947dff12bcf5 ("devtools: check flow API doc tables")
Cc: stable at dpdk.org

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 devtools/check-doc-vs-code.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/check-doc-vs-code.sh b/devtools/check-doc-vs-code.sh
index c58c239c87..80d77907f0 100755
--- a/devtools/check-doc-vs-code.sh
+++ b/devtools/check-doc-vs-code.sh
@@ -28,7 +28,7 @@ changed_files()
 
 has_code_change() # <pattern>
 {
-	test -n "$(git log --format='%h' -S"$1" $trusted_commit..)"
+	test -n "$(git log --format='%h' -G"$1" $trusted_commit..)"
 }
 
 has_file_change() # <pattern>
-- 
2.54.0



More information about the dev mailing list