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
Currently, we are not checking if a directory is initialized as a git repository. If it is not, repo = Repo(repo) will result in an ugly exception. We should handle it properly as we do when checking if the repo has set an origin remote.
https://github.com/containerbuildsystem/cachi2/blob/main/cachi2/core/scm.py#L37
Currently, we are not checking if a directory is initialized as a git repository. If it is not,
repo = Repo(repo)
will result in an ugly exception. We should handle it properly as we do when checking if the repo has set an origin remote.To reproduce:
The text was updated successfully, but these errors were encountered: