Skip to content

Commit

Permalink
one more improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 5, 2024
1 parent d95f5d6 commit 0593149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_fleximod/git_fleximod.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def submodules_status(gitmodules, root_dir, toplevel=False):
htag = htag[:-3]
if not atag and ahash in htag:
atag = (htag.split()[1])[10:]
if not hhash and htag.endswith(tag):
if tag and not hhash and htag.endswith(tag):
hhash = htag.split()[0]
if hhash and atag:
break
Expand Down

0 comments on commit 0593149

Please sign in to comment.