summaryrefslogtreecommitdiffstats
path: root/status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'status.sh')
-rw-r--r--status.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/status.sh b/status.sh
index 893dde2..6b99eb5 100644
--- a/status.sh
+++ b/status.sh
@@ -15,7 +15,7 @@ function systr_status
if [ -f ".systr/MERG" ]; then
read MERG <.systr/MERG
- mergcommit=$(get_commit "$MERG")
+ mergcommit=$(systr_repo_resolve_reference "$MERG")
if [[ "$MERG" == "TRAC" ]]; then
echo "Update in progress, to $mergcommit"
@@ -26,7 +26,7 @@ function systr_status
echo ""
fi
- traccommit=$(get_commit "$TRAC")
+ traccommit=$(systr_repo_resolve_reference "$TRAC")
if [[ "$TRAC" == "$traccommit" ]]; then
echo "Not tracking any branch"