Skip to content

Commit

Permalink
Add extra git status
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieAkeroyd committed Jan 19, 2025
1 parent f7dd35e commit 3e693b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ def checkout_to_release_branch(self) -> None:
except subprocess.CalledProcessError as e:
print(f"Error fetching remote: {e}")

try:
# run a git status to rebuild index if needed
subprocess.check_call(f"cd /d {EPICS_PATH} && git status", shell=True)
except subprocess.CalledProcessError as e:
print(f"Error running git status: {e}")

# this sets upstream tracking on all local branches not just current one
try:
subprocess.check_call(
Expand Down

0 comments on commit 3e693b4

Please sign in to comment.