I had a repository installed by basher that currently does not exist.
basher outdated did not list my other repository also installed by basher. Finally I found that git remote update on non-existing repository was failing.
$ git remote update
remote: Repository not found.
fatal: repository 'https://github.com/user/repo.git/' not found
It would be good to handle this case so that the basher does not terminate the process just display the reason for its exit.
The same situation is for:
$ git remote update
fatal: couldn't find remote ref refs/heads/master
Here there was a branch change from master to main. The set -e itself is problematic.
I had a repository installed by basher that currently does not exist.
basher outdated did not list my other repository also installed by basher. Finally I found that
git remote updateon non-existing repository was failing.It would be good to handle this case so that the basher does not terminate the process just display the reason for its exit.
The same situation is for:
Here there was a branch change from master to main. The
set -eitself is problematic.