Skip to content

Commit 3e693b4

Browse files
Add extra git status
1 parent f7dd35e commit 3e693b4

File tree

1 file changed

+6
-0
lines changed
  • installation_and_upgrade/ibex_install_utils/tasks

1 file changed

+6
-0
lines changed

installation_and_upgrade/ibex_install_utils/tasks/git_tasks.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ def checkout_to_release_branch(self) -> None:
4545
except subprocess.CalledProcessError as e:
4646
print(f"Error fetching remote: {e}")
4747

48+
try:
49+
# run a git status to rebuild index if needed
50+
subprocess.check_call(f"cd /d {EPICS_PATH} && git status", shell=True)
51+
except subprocess.CalledProcessError as e:
52+
print(f"Error running git status: {e}")
53+
4854
# this sets upstream tracking on all local branches not just current one
4955
try:
5056
subprocess.check_call(

0 commit comments

Comments
 (0)