diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-22 01:28:13 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-26 12:37:49 -0700 |
commit | f3123c4ab3d3698262e59561ac084de45b10365a (patch) | |
tree | 5184f41aebc18fdd90c27b76b8fb230fda58fb84 /Makefile | |
parent | 7ebb6fcafed2a3d47390e6f47ff20a98fe451409 (diff) | |
download | git-f3123c4ab3d3698262e59561ac084de45b10365a.tar.gz git-f3123c4ab3d3698262e59561ac084de45b10365a.tar.xz |
pack-objects: Allow use of pre-generated pack.
git-pack-objects can reuse pack files stored in $GIT_DIR/pack-cache
directory, when a necessary pack is found. This is hopefully useful
when upload-pack (called from git-daemon) is expected to receive
requests for the same set of objects many times (e.g full cloning
request of any project, or updates from the set of heads previous day
to the latest for a slow moving project).
Currently git-pack-objects does *not* keep pack files it creates for
reusing. It might be useful to add --update-cache option to it,
which would allow it store pack files it created in the pack-cache
directory, and prune rarely used ones from it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ LIB_OBJS = \ object.o pack-check.o patch-delta.o path.o pkt-line.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 config.o environment.o ctype.o \ + tag.o tree.o usage.o config.o environment.o ctype.o copy.o \ $(DIFF_OBJS) LIBS = $(LIB_FILE) |