From e936bb62a0d9d0d31781109175b746a3794513c1 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Wed, 16 Apr 2025 16:05:18 +0000 Subject: [PATCH] Bug 1959287 - chore(wpt): add `wpt-metadata` diff. driver ref. for Git r=jgraham Differential Revision: https://phabricator.services.mozilla.com/D244843 --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitattributes b/.gitattributes index 6cbab810c904..6ef0999957d0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,11 @@ # Prevent line ending normalization to follow the mercurial behavior * -text + +# To show the test headers in WPT metadata diffs, you can combine the attributes below with the +# following CLI invocation: +# +# ``` +# git config --local diff.wpt-metadata.xfuncname '^\[.*\]\s*$' +# ``` +testing/web-platform/meta/**/*.ini diff=wpt-metadata +testing/web-platform/mozilla/meta/**/*.ini diff=wpt-metadata