Skip to content

Commit e8c75e4

Browse files
committed
fix: update verbose logging to match actual git strategy
- Ensure consistency between implementation (git diff HEAD~1 HEAD) - and verbose logging message for maintenance branches
1 parent 779e2f9 commit e8c75e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/test_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _detect_default_base(self) -> str:
180180

181181
# Show the actual strategy being used
182182
if branch and branch.endswith('.x'):
183-
return f"git show HEAD (maintenance branch {branch})"
183+
return f"git diff HEAD~1 HEAD (maintenance branch {branch})"
184184
elif pr_base:
185185
return f"origin/{pr_base} (PR base)"
186186
elif branch:

0 commit comments

Comments
 (0)