From 4f9bce1ab7d9e08f63b34c057e3a48b1c60b2393 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Wed, 17 Jun 2026 11:16:06 +0200 Subject: [PATCH] acceptance: Add Shell langugage attribute to script files --- acceptance/.gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/acceptance/.gitattributes b/acceptance/.gitattributes index 8380bb6ae0b..fc6382cfa5d 100644 --- a/acceptance/.gitattributes +++ b/acceptance/.gitattributes @@ -12,3 +12,10 @@ out.test.toml linguist-generated=true # Do not mark generated files as conflicted, they should simply be regenerated. # Note, you need top run .gitconfig.install to enable 'ours' driver out* merge=ours + +# Acceptance test scripts have no file extension and most have no shebang, so +# GitHub's linguist treats them as plain text. Force Shell so they get syntax +# highlighting in blob and diff views, which makes reviewing them easier. +script linguist-language=Shell +script.prepare linguist-language=Shell +script.cleanup linguist-language=Shell