[PATCH] Handle deltified object correctly in git-*-pull family.
[git.git] / pull.h
1 #ifndef PULL_H
2 #define PULL_H
3
4 /** To be provided by the particular implementation. **/
5 extern int fetch(unsigned char *sha1);
6
7 /** Set to fetch the target tree. */
8 extern int get_tree;
9
10 /** Set to fetch the commit history. */
11 extern int get_history;
12
13 /** Set to fetch the trees in the commit history. **/
14 extern int get_all;
15
16 /* Set to zero to skip the check for delta object base. */
17 extern int get_delta;
18
19 /* Set to be verbose */
20 extern int get_verbosely;
21
22 /* Report what we got under get_verbosely */
23 extern void pull_say(const char *, const char *);
24
25 extern int pull(char *target);
26
27 #endif /* PULL_H */