diff options
Diffstat (limited to 'bin')
| -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$' |
