diff options
Diffstat (limited to 'dot/local/bin/git-ll-remote')
-rwxr-xr-x | dot/local/bin/git-ll-remote | 19 |
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 | ||
60 | show_ahead_none_message() | 60 | show_ahead_none_message() |
61 | { | 61 | { |
62 | x=$(cat <<EOF) | 62 | cat >&2 <<EOF |
63 | No remote branches are ahead of your HEAD. %d other remote branches were not | 63 | No remote branches are ahead of your HEAD. $1 other remote branches were not |
64 | listed. | 64 | listed. |
65 | EOF | ||
66 | printf "$x\n" "$1" >&2 | ||
67 | 65 | ||
66 | EOF | ||
68 | } | 67 | } |
69 | 68 | ||
70 | show_behind_message() | 69 | show_behind_message() |
@@ -78,11 +77,11 @@ EOF | |||
78 | 77 | ||
79 | show_behind_none_message() | 78 | show_behind_none_message() |
80 | { | 79 | { |
81 | x=$(cat <<EOF) | 80 | cat >&2 <<EOF |
82 | No remotes branches are behind your HEAD. %d other remote branches were not | 81 | No remotes branches are behind your HEAD. $1 other remote branches were not |
83 | listed. | 82 | listed. |
83 | |||
84 | EOF | 84 | EOF |
85 | printf "$x\n" "$1" >&2 | ||
86 | 85 | ||
87 | } | 86 | } |
88 | 87 | ||
@@ -96,11 +95,11 @@ EOF | |||
96 | 95 | ||
97 | show_upto_none_message() | 96 | show_upto_none_message() |
98 | { | 97 | { |
99 | x=$(cat <<EOF) | 98 | cat >&2 <<EOF |
100 | No remote branches are even with your HEAD. %d other remote branches were not | 99 | No remote branches are even with your HEAD. $1 other remote branches were not |
101 | listed. | 100 | listed. |
101 | |||
102 | EOF | 102 | EOF |
103 | printf "$x\n" "$1" >&2 | ||
104 | } | 103 | } |
105 | 104 | ||
106 | have_ref() | 105 | have_ref() |