You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This if-statement conditional branch is insufficient.
If possible, could you consider other means of determining whether a branch is a remote branch or not?
I also try to explore the way. (I am not familiar with Python and Git, so it is perhaps difficult for me to make Pull Request about this issue.)
The text was updated successfully, but these errors were encountered:
@k1997y Yes you're right. I will use the supported GitPython calls to determine if the branch is local or remote, instead of this slash test. I will push a fix for this soon. Thanks for finding and reporting this bug!
A git branch name can include slash symbol(/).
e.g) feature/feature-A
However,
git-sim
throwsKeyError
if the branches's name include slash.There is the reason most likely in following lines.
git-sim/git_sim/git_sim_base_command.py
Lines 319 to 327 in 84811ee
This if-statement conditional branch is insufficient.
If possible, could you consider other means of determining whether a branch is a remote branch or not?
I also try to explore the way. (I am not familiar with Python and Git, so it is perhaps difficult for me to make Pull Request about this issue.)
The text was updated successfully, but these errors were encountered: