rename_ref(): handle the case when the reflog of a ref does not exist
[git/dscho.git] / fetch-pack.h
blob8bd9c32561e79d194d27fa10cc98a26aa2cb673c
1 #ifndef FETCH_PACK_H
2 #define FETCH_PACK_H
4 struct fetch_pack_args
6         const char *uploadpack;
7         int unpacklimit;
8         int depth;
9         unsigned quiet:1,
10                 keep_pack:1,
11                 lock_pack:1,
12                 use_thin_pack:1,
13                 fetch_all:1,
14                 verbose:1,
15                 no_progress:1,
16                 include_tag:1;
19 struct ref *fetch_pack(struct fetch_pack_args *args,
20                 int fd[], struct child_process *conn,
21                 const struct ref *ref,
22                 const char *dest,
23                 int nr_heads,
24                 char **heads,
25                 char **pack_lockfile);
27 #endif