mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
120703292b
When pushing over the git protocol, pack-objects gives progress reports about the pack being sent. If "push" is given the --quiet flag, it now passes "-q" to pack-objects, suppressing this output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 lines
355 B
C
19 lines
355 B
C
#ifndef SEND_PACK_H
|
|
#define SEND_PACK_H
|
|
|
|
struct send_pack_args {
|
|
unsigned verbose:1,
|
|
quiet:1,
|
|
send_mirror:1,
|
|
force_update:1,
|
|
use_thin_pack:1,
|
|
use_ofs_delta:1,
|
|
dry_run:1;
|
|
};
|
|
|
|
int send_pack(struct send_pack_args *args,
|
|
int fd[], struct child_process *conn,
|
|
struct ref *remote_refs, struct extra_have_objects *extra_have);
|
|
|
|
#endif
|