mirror of
https://github.com/git/git.git
synced 2024-12-05 16:04:29 +08: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>
17 lines
343 B
C
17 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
|