Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Utilities/Python/scripts/validation_git_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ def MAKEGITENTRY(case_name):
# Get git date
gitdate = ''
try:
result = subprocess.run( ['git show -s --format=%aD', gitrevshort], capture_output=True, text=True)
result = subprocess.run( ['git', 'show', '-s', '--format=%aD', gitrevshort], capture_output=True, text=True)
if result.returncode == 0 and result.stdout.strip():
date_parts = result.stdout.strip().split()
if len(date_parts) >= 5:
gitdate = f"{date_parts[2]} {date_parts[1]}, {date_parts[3]}"
except Exception:
gitdate = ''
gitdate = 'Unknown'

# Escape underscores for LaTeX
dir_escaped = case_name.replace('_', '\\_')
Expand Down