aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-05-18 00:22:56 +0800
committerJesús <heckyel@hyperbola.info>2022-05-18 00:22:56 +0800
commitc6f167094785254779645d9cdc29771c5e739038 (patch)
tree40489769c9f5fd380e56e3cf7ce8d9f6207d6b9a /hyperterm
parentd872eca384bd7af02b22d0951ded91b83f97cd2c (diff)
downloadhyperterm-c6f167094785254779645d9cdc29771c5e739038.tar.lz
hyperterm-c6f167094785254779645d9cdc29771c5e739038.tar.xz
hyperterm-c6f167094785254779645d9cdc29771c5e739038.zip
Fix unused variable ___upstream
Diffstat (limited to 'hyperterm')
-rw-r--r--hyperterm/core/git.sh4
-rw-r--r--hyperterm/hyperterm.sha5122
2 files changed, 3 insertions, 3 deletions
diff --git a/hyperterm/core/git.sh b/hyperterm/core/git.sh
index 1488a93..3ae80c2 100644
--- a/hyperterm/core/git.sh
+++ b/hyperterm/core/git.sh
@@ -149,7 +149,7 @@ function _git_dirty_count() {
function _git_behind_count() {
local __behind_count
if git rev-parse --symbolic-full-name --abbrev-ref "@{upstream}" > /dev/null 2>&1; then
- __behind_count="$(git rev-list --left-right --count "$___upstream"...HEAD | cut -f1 2> /dev/null)"
+ __behind_count="$(git rev-list --left-right --count "@{upstream}"...HEAD | cut -f1 2> /dev/null)"
case $__behind_count in
0) echo -n '';;
*) echo -n "$__behind_count";;
@@ -160,7 +160,7 @@ function _git_behind_count() {
function _git_ahead_count() {
local __ahead_count
if git rev-parse --symbolic-full-name --abbrev-ref "@{upstream}" > /dev/null 2>&1; then
- __ahead_count="$(git rev-list --left-right --count "$___upstream"...HEAD | cut -f2 2> /dev/null)"
+ __ahead_count="$(git rev-list --left-right --count "@{upstream}"...HEAD | cut -f2 2> /dev/null)"
case $__ahead_count in
0) echo -n '';;
*) echo -n "$__ahead_count";;
diff --git a/hyperterm/hyperterm.sha512 b/hyperterm/hyperterm.sha512
index c184e95..2c57d6f 100644
--- a/hyperterm/hyperterm.sha512
+++ b/hyperterm/hyperterm.sha512
@@ -13,7 +13,7 @@ fab9d339a99c7d2e1809d1c44f533523c6bfcdcc8d63c62b335ce7d4c666c8bdd7ac319316bf71f0
455838836f6cee00e8e2c3d255b47f1126f4a926b791297a3b9f580d1447411354951d9fa4bffc3968cbcf6566f4026b43d591d0514c9516b685b4b5a6a05d68 ./tools/network.sh
7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh
065cfa39f1b4312ed275ad1039827a24f703176c653a8d27303d145f9d389a60ec5b3a9eb167e060cc6fd093b9c03cfb1a8b70254d444fbc6e62e2297d88b310 ./core/status.sh
-7a832bc25b458eff5ac8d8e41fd8758f7405f7754e619cb2584f411c8819f37f04a65e1ffb9f061c7caa37ba61ef0818f8f6dbb4d05fd7374b1e38e5739a9c6c ./core/git.sh
+2036a79215a5434e31f3406bea3f2ffa7e94ffef86c2d1ceb8865db29f19fe7f342f9cab93288f57c75daed36ef146f85d15f8d633931a27d55c3983f55ef15b ./core/git.sh
063759f010fbacacb540c645b8981f09f378db71b6873dbcfa4aa99ad1ec4a840a3580aa19f143eacec9bd533e571aab14f232fb4c4ba26af3e2e3f95d8ce1b3 ./core/update.sh
f3e00b2aa8ab9f3ab44570adaa2520408ed66fd00f551654d60b64a4be3546ec781b7efa39bcd774937e654b6ffb4c7af3f21eeb36caf9c01f82f85cf28e2b4d ./core/languages.sh
1cfba599047d84a17ff92b695ebf527a505a30acc9ec21a2b9f410a7ea6dde4b23b5cf62e557d82f2fe9a8980649942424b879ca53baae4d4cb3057681baa7b6 ./core/colors.sh