From 04aedbbd519ff58cfd0da35628f766b71096326c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 6 Sep 2012 13:05:06 -0400 Subject: [PATCH] handle both verbose and non-verbose output --- .bin/r | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/r b/.bin/r index 08edfe2..bb754d1 100755 --- a/.bin/r +++ b/.bin/r @@ -33,9 +33,9 @@ rebase) if ($0 ~ "^[*] *[(]no branch[)]") { next } else if ($1 == "*") { - b = $NF + b = $2 } else { - list = list $NF " " + list = list $1 " " } } END { print list b }') -- 2.39.5