From 701d69eed97e74632e39bafe26841601881e1713 Mon Sep 17 00:00:00 2001 From: Pietro Fezzardi Date: Fri, 30 May 2025 16:17:32 +0200 Subject: [PATCH] Increase context around diffs The new value is picked to ensure that whenever we have a commit hash mismatch the diff also shows the offending repository in the error message, easing troubleshooting. --- orchestra/exceptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchestra/exceptions.py b/orchestra/exceptions.py index 94270425..81ede0a0 100644 --- a/orchestra/exceptions.py +++ b/orchestra/exceptions.py @@ -224,7 +224,8 @@ def log_error(self): _, output = orchestra.actions.util.try_get_subprocess_output( [ "diff", - "-u", + "-U", + "8", color, str(available_hash_material_path), f.name,