mirror of
https://github.com/git/git.git
synced 2024-11-16 14:04:52 +01:00
568508e765
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>
16 lines
343 B
C
16 lines
343 B
C
/*
|
|
* Copyright (c) 2011, Google Inc.
|
|
*/
|
|
#ifndef BULK_CHECKIN_H
|
|
#define BULK_CHECKIN_H
|
|
|
|
#include "cache.h"
|
|
|
|
extern int index_bulk_checkin(unsigned char sha1[],
|
|
int fd, size_t size, enum object_type type,
|
|
const char *path, unsigned flags);
|
|
|
|
extern void plug_bulk_checkin(void);
|
|
extern void unplug_bulk_checkin(void);
|
|
|
|
#endif
|