Minor script fix

This commit is contained in:
a8trejo
2024-12-11 12:10:55 -08:00
parent 5eafdbcc57
commit 21f83f64d8

View File

@@ -3,15 +3,10 @@ import re
import subprocess
def run_git_command(command):
try:
result = subprocess.getoutput(command)
print(f"Git Command: {command}")
print(f"Git Output: {result}")
return result
except subprocess.CalledProcessError as e:
print(f"Error running command: {e}")
print(f"stderr: {e.stderr}")
return None
def parse_merge_commit(line):
# Parse merge commit messages like: