Skip to content

Commit

Permalink
Retire rev-tree.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Sep 22, 2005
1 parent 0fe5139 commit 9dcc829
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 235 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ git-reset
git-resolve
git-rev-list
git-rev-parse
git-rev-tree
git-revert
git-send-email
git-send-pack
Expand Down
88 changes: 0 additions & 88 deletions Documentation/git-rev-tree.txt

This file was deleted.

3 changes: 0 additions & 3 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ gitlink:git-merge-base[1]::
gitlink:git-rev-list[1]::
Lists commit objects in reverse chronological order

gitlink:git-rev-tree[1]::
Provides the revision tree for one or more commits

gitlink:git-show-index[1]::
Displays contents of a pack idx file.

Expand Down
4 changes: 2 additions & 2 deletions Documentation/howto/using-topic-branches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ PROGRAMS = \
git-merge-index git-mktag git-pack-objects git-patch-id \
git-peek-remote git-prune-packed git-read-tree \
git-receive-pack git-rev-list git-rev-parse \
git-rev-tree git-send-pack git-show-branch \
git-send-pack git-show-branch \
git-show-index git-ssh-fetch \
git-ssh-upload git-tar-tree git-unpack-file \
git-unpack-objects git-update-index git-update-server-info \
Expand Down
140 changes: 0 additions & 140 deletions rev-tree.c

This file was deleted.

0 comments on commit 9dcc829

Please sign in to comment.