-
Notifications
You must be signed in to change notification settings - Fork 7
Description
We are trying to bring in ESCOMP/CAM#1355, but get the following error when we run git-fleximod update on it:
Traceback (most recent call last):
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/bin/git-fleximod", line 8, in
sys.exit(main())
^^^^^^
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/git_fleximod.py", line 349, in main
submodules_update(gitmodules, root_dir, fxrequired, force)
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/git_fleximod.py", line 225, in submodules_update
_, needsupdate, localmods, testfails = submod.status()
^^^^^^^^^^^^^^^
File "/glade/u/home/cacraig/cam_hgt_matrix_half_error/.lib/git-fleximod/git_fleximod/submodule.py", line 110, in status
ahash = parts[0][1:]
~~~~~^^^
IndexError: list index out of range
Note that the external user proposed a change to git-fleximod (AI generated) which supposedly fixes the problem. I did not try it as the proper fix is for it to be changed in the official git-fleximod github repo.