aboutsummaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-16 22:30:55 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-22 01:54:12 -0700
commit9dcc829fe13b7c843a1df6c38479d5b8b8c7d20f (patch)
tree1e4f5b99886d9661371ca29426d37bcfe641299f /Documentation/howto
parent0fe51391a80919870f94ddb442df234bb2223f3b (diff)
downloadgit-9dcc829fe13b7c843a1df6c38479d5b8b8c7d20f.tar.gz
git-9dcc829fe13b7c843a1df6c38479d5b8b8c7d20f.tar.xz
Retire rev-tree.
Some old scripts might still use git-rev-tree, but it really is clearly inferior in every way to git-rev-list that such scripts should be fixed anyway. Fixing them should be pretty easy. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/howto')
-rw-r--r--Documentation/howto/using-topic-branches.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/howto/using-topic-branches.txt b/Documentation/howto/using-topic-branches.txt
index b3b4d2c97..d30fa8504 100644
--- a/Documentation/howto/using-topic-branches.txt
+++ b/Documentation/howto/using-topic-branches.txt
@@ -245,7 +245,7 @@ gb=$(tput setab 2)
rb=$(tput setab 1)
restore=$(tput setab 9)
-if [ `git-rev-tree release ^test | wc -c` -gt 0 ]
+if [ `git-rev-list release ^test | wc -c` -gt 0 ]
then
echo $rb Warning: commits in release that are not in test $restore
git-whatchanged release ^test
@@ -262,7 +262,7 @@ do
status=
for ref in test release linus
do
- if [ `git-rev-tree $branch ^$ref | wc -c` -gt 0 ]
+ if [ `git-rev-list $branch ^$ref | wc -c` -gt 0 ]
then
status=$status${ref:0:1}
fi