chiark
/
gitweb
/
~ian
/
topgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d65d2
)
tg info: Note if local head is ahead of remote mate
author
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 19:53:10 +0000
(21:53 +0200)
committer
Petr Baudis
<pasky@suse.cz>
Tue, 9 Sep 2008 19:53:10 +0000
(21:53 +0200)
tg-info.sh
patch
|
blob
|
history
diff --git
a/tg-info.sh
b/tg-info.sh
index f5502db9ac507a8a2db841ba2818429eb8aa5fff..6c00d83b8804c2788665d17cc977ccf42dc556a8 100644
(file)
--- 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" |