diff options
| author | mail_redacted_for_web | 2026-01-26 12:51:02 +0100 |
|---|---|---|
| committer | mail_redacted_for_web | 2026-01-26 12:51:02 +0100 |
| commit | 117ef4a71a7aae1de0c79e0cb74addf8b0b0fd50 (patch) | |
| tree | e07d32793ed2354f590a38bc1776863a5de121d7 | |
| parent | b22f60d8a4c68d043010990b7eb07a40d471ea0f (diff) | |
| download | dotfiles-117ef4a71a7aae1de0c79e0cb74addf8b0b0fd50.tar.bz2 | |
fix: do not display HEAD along with the branchestesting
| -rwxr-xr-x | bin/git-other-branches | 3 |
1 files changed, 2 insertions, 1 deletions
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$' |
