Skip to content

Commit

Permalink
Retire info/rev-cache
Browse files Browse the repository at this point in the history
It was one of those things that were well intentioned but did not turn
out to be useful in practice.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 15, 2005
1 parent 53764ee commit 0f56479
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 558 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ git-applypatch
git-archimport
git-bisect
git-branch
git-build-rev-cache
git-cat-file
git-checkout
git-checkout-index
Expand Down Expand Up @@ -78,7 +77,6 @@ git-sh-setup
git-shortlog
git-show-branch
git-show-index
git-show-rev-cache
git-ssh-fetch
git-ssh-upload
git-status
Expand Down
38 changes: 0 additions & 38 deletions Documentation/git-build-rev-cache.txt

This file was deleted.

37 changes: 0 additions & 37 deletions Documentation/git-show-rev-cache.txt

This file was deleted.

2 changes: 0 additions & 2 deletions Documentation/git-update-server-info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ of what they are for:

* info/refs

* info/rev-cache


BUGS
----
Expand Down
6 changes: 0 additions & 6 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ link:git-tag.html[git-tag]::

Interrogators:

link:git-build-rev-cache.html[git-build-rev-cache]::
Create or update a rev-cache file.

link:git-cherry.html[git-cherry]::
Find commits not merged upstream.

Expand Down Expand Up @@ -402,9 +399,6 @@ link:git-send-email.html[git-send-email]::
Send patch e-mails out of "format-patch --mbox" output.
Previously this command was known as git-send-email-script.

link:git-show-rev-cache.html[git-show-rev-cache]::
Show the contents of a rev-cache file.

link:git-stripspace.html[git-stripspace]::
Filter out empty lines.

Expand Down
7 changes: 0 additions & 7 deletions Documentation/repository-layout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ info/grafts::
listing their 40-byte hexadecimal object names separated
by a space and terminated by a newline.

info/rev-cache::
No higher-level tool currently takes advantage of this
file, but it is generated when `git update-server-info`
is run. It records the commit ancestry information of
the commits in this repository in a concise binary
format, and can be read with `git-show-rev-cache`.

info/exclude::
This file, by convention among Porcelains, stores the
exclude pattern list. `git status` looks at it, but
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ SIMPLE_PROGRAMS = \

# ... and all the rest
PROGRAMS = \
git-apply git-build-rev-cache git-cat-file \
git-apply git-cat-file \
git-checkout-index git-clone-pack git-commit-tree \
git-convert-objects git-diff-files \
git-diff-helper git-diff-index git-diff-stages \
Expand All @@ -103,7 +103,7 @@ PROGRAMS = \
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-show-index git-show-rev-cache git-ssh-fetch \
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 \
git-upload-pack git-verify-pack git-write-tree \
Expand All @@ -125,7 +125,7 @@ LIB_FILE=libgit.a
LIB_H = \
blob.h cache.h commit.h count-delta.h csum-file.h delta.h \
diff.h epoch.h object.h pack.h pkt-line.h quote.h refs.h \
rev-cache.h run-command.h strbuf.h tag.h tree.h
run-command.h strbuf.h tag.h tree.h

DIFF_OBJS = \
diff.o diffcore-break.o diffcore-order.o diffcore-pathspec.o \
Expand All @@ -135,7 +135,7 @@ LIB_OBJS = \
blob.o commit.o connect.o count-delta.o csum-file.o \
date.o diff-delta.o entry.o ident.o index.o \
object.o pack-check.o patch-delta.o path.o pkt-line.o \
quote.o read-cache.o refs.o rev-cache.o run-command.o \
quote.o read-cache.o refs.o run-command.o \
server-info.o setup.o sha1_file.o sha1_name.o strbuf.o \
tag.o tree.o usage.o $(DIFF_OBJS)

Expand Down
56 changes: 0 additions & 56 deletions build-rev-cache.c

This file was deleted.

Loading

0 comments on commit 0f56479

Please sign in to comment.