chiark / gitweb /
tg info: Note if local head is ahead of remote mate
[topgit.git] / tg-info.sh
index f5502db9ac507a8a2db841ba2818429eb8aa5fff..6c00d83b8804c2788665d17cc977ccf42dc556a8 100644 (file)
@@ -44,6 +44,8 @@ if has_remote "$name"; then
                echo "* Local base is out of date wrt. the remote base."
        branch_contains "$name" "refs/remotes/$base_remote/$name" ||
                echo "* Local head is out of date wrt. the remote head."
+       branch_contains "refs/remotes/$base_remote/$name" "$name" ||
+               echo "* Local head is ahead of the remote head."
 fi
 
 git cat-file blob "$name:.topdeps" |