repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Build-in send-pack, with an API for other programs to call.
[alt-git.git]
/
send-pack.h
blob
7a24f71c77b1a1d700171bdf088a3c3c7527c6ae
1
#ifndef SEND_PACK_H
2
#define SEND_PACK_H
3
4
struct
send_pack_args
{
5
const char
*
receivepack
;
6
unsigned
verbose
:
1
,
7
send_all
:
1
,
8
force_update
:
1
,
9
use_thin_pack
:
1
,
10
dry_run
:
1
;
11
};
12
13
int
send_pack
(
struct
send_pack_args
*
args
,
14
const char
*
dest
,
struct
remote
*
remote
,
15
int
nr_heads
,
const char
**
heads
);
16
17
#endif