summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-09-27 10:56:51 -0400
committerAndrew Cady <d@jerkface.net>2021-09-27 10:56:51 -0400
commitb691b24ecc36d12f2f1e94c67a1108e3ca70e141 (patch)
treef6513e2bedfb51ff1be6b24b701709a66959ea2b
parent33ffea83c191e2ecdfbc79b88806bc151483ebed (diff)
git-ll-remote: fix
-rwxr-xr-xdot/local/bin/git-ll-remote19
1 files changed, 9 insertions, 10 deletions
diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote
index f4b058d..000e41d 100755
--- a/dot/local/bin/git-ll-remote
+++ b/dot/local/bin/git-ll-remote
@@ -59,12 +59,11 @@ EOF
59 59
60show_ahead_none_message() 60show_ahead_none_message()
61{ 61{
62 x=$(cat <<EOF) 62 cat >&2 <<EOF
63No remote branches are ahead of your HEAD. %d other remote branches were not 63No remote branches are ahead of your HEAD. $1 other remote branches were not
64listed. 64listed.
65EOF
66 printf "$x\n" "$1" >&2
67 65
66EOF
68} 67}
69 68
70show_behind_message() 69show_behind_message()
@@ -78,11 +77,11 @@ EOF
78 77
79show_behind_none_message() 78show_behind_none_message()
80{ 79{
81 x=$(cat <<EOF) 80 cat >&2 <<EOF
82No remotes branches are behind your HEAD. %d other remote branches were not 81No remotes branches are behind your HEAD. $1 other remote branches were not
83listed. 82listed.
83
84EOF 84EOF
85 printf "$x\n" "$1" >&2
86 85
87} 86}
88 87
@@ -96,11 +95,11 @@ EOF
96 95
97show_upto_none_message() 96show_upto_none_message()
98{ 97{
99x=$(cat <<EOF) 98 cat >&2 <<EOF
100No remote branches are even with your HEAD. %d other remote branches were not 99No remote branches are even with your HEAD. $1 other remote branches were not
101listed. 100listed.
101
102EOF 102EOF
103 printf "$x\n" "$1" >&2
104} 103}
105 104
106have_ref() 105have_ref()