chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tg-patch: fix pagination
[topgit.git]
/
tg-patch.sh
diff --git
a/tg-patch.sh
b/tg-patch.sh
index a7043756424098d30403a9ec652c932cbc0b5f44..dc699d2039046b86168a0db9c4f053d191f97aef 100644
(file)
--- a/
tg-patch.sh
+++ b/
tg-patch.sh
@@
-24,6
+24,9
@@
done
base_rev="$(git rev-parse --short --verify "refs/top-bases/$name" 2>/dev/null)" ||
die "not a TopGit-controlled branch"
+
+setup_pager
+
git cat-file blob "$name:.topmsg"
echo
[ -n "$(git grep '^[-]--' "$name" -- ".topmsg")" ] || echo '---'