diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-10-28 14:48:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-01 11:46:09 -0800 |
commit | 568508e76570e9ea36aad6446959424cebcf0535 (patch) | |
tree | 9b71da7197e9a084c3406d6020672dd11ac26b24 /cache.h | |
parent | 6c526148644475acbc047faaeb57d42fde1f667d (diff) | |
download | git-568508e76570e9ea36aad6446959424cebcf0535.tar.gz |
bulk-checkin: replace fast-import based implementationjc/stream-to-pack
This extends the earlier approach to stream a large file directly from the
filesystem to its own packfile, and allows "git add" to send large files
directly into a single pack. Older code used to spawn fast-import, but the
new bulk-checkin API replaces it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,7 @@ int git_inflate(git_zstream *, int flush); void git_deflate_init(git_zstream *, int level); void git_deflate_init_gzip(git_zstream *, int level); void git_deflate_end(git_zstream *); +int git_deflate_abort(git_zstream *); int git_deflate_end_gently(git_zstream *); int git_deflate(git_zstream *, int flush); unsigned long git_deflate_bound(git_zstream *, unsigned long); @@ -598,6 +599,7 @@ extern size_t packed_git_window_size; extern size_t packed_git_limit; extern size_t delta_base_cache_limit; extern unsigned long big_file_threshold; +extern unsigned long pack_size_limit_cfg; extern int read_replace_refs; extern int fsync_object_files; extern int core_preload_index; |