From: Petr Baudis Date: Tue, 9 Sep 2008 19:53:10 +0000 (+0200) Subject: tg info: Note if local head is ahead of remote mate X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;ds=sidebyside;h=cb7fbe721149d70d5f8eb3ca50b46585db07f314;p=topgit.git tg info: Note if local head is ahead of remote mate --- diff --git a/tg-info.sh b/tg-info.sh index f5502db..6c00d83 100644 --- a/tg-info.sh +++ b/tg-info.sh @@ -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" |