summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--repo-access.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/repo-access.sh b/repo-access.sh
index 40be363..3e9fa8d 100644
--- a/repo-access.sh
+++ b/repo-access.sh
@@ -225,15 +225,16 @@ function systr_status
if [[ "$BASE" == "NULL" ]]; then
echo "BASE unset"
else
- echo "BASE at $BASE"
+ echo "BASE at $BASE {$updated}"
fi
- echo "Tree updated $updated"
dist=$(systr_repo_commit_dist "$BASE" "$TRAC")
- if [[ "$dist" == "0" ]]; then
- echo "Up-to-date"
- else
- echo "Behind $dist commits"
+ if [[ "$TRAC" != "$traccommit" ]]; then
+ if [[ "$dist" == "0" ]]; then
+ echo "Up-to-date"
+ else
+ echo "Behind $dist commits"
+ fi
fi
}