From 117ef4a71a7aae1de0c79e0cb74addf8b0b0fd50 Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Mon, 26 Jan 2026 12:51:02 +0100 Subject: fix: do not display HEAD along with the branches --- bin/git-other-branches | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/git-other-branches b/bin/git-other-branches index 729ba61..034670e 100755 --- a/bin/git-other-branches +++ b/bin/git-other-branches @@ -8,4 +8,5 @@ GREPBIN='/usr/bin/grep' # shellcheck disable=SC2016 "$GITBIN" branch --remotes |\ "$AWKBIN" '{print $1}' | "$AWKBIN" -F/ '{print $2}' |\ - "$GREPBIN" -v "^$(git rev-parse --abbrev-ref HEAD)\$" + "$GREPBIN" -v "^$(git rev-parse --abbrev-ref HEAD)\$" |\ + "$GREPBIN" -v '^HEAD$' -- cgit v1.2.3