cli: remove redundant git-cl status call for gerrit

This commit is contained in:
Paul Irish 2026-04-27 10:34:16 -07:00
parent 42222d3e3c
commit f704e49572
No known key found for this signature in database

View file

@ -106,8 +106,6 @@ _browse_branches() {
gp=$(git config --get "gerrit.project" 2>/dev/null)
if command -v gh >/dev/null 2>&1 && git remote -v | grep -q "github.com"; then
ct="github"; cs=$(gh pr list --state all --author "@me" --limit 100 --json headRefName,number,url --template '{{range .}}{{ .headRefName }} : {{ .url }} {{ .number }}{{"\n"}}{{end}}')
elif command -v git-cl >/dev/null 2>&1; then
ct="gerrit"; cs=$(git cl status --fast --no-branch-color 2>/dev/null | grep 'https://' | sed 's| (.*||')
fi
fi