]>
Commit | Line | Data |
---|---|---|
4250a5e5 DB |
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 | ||
a48e1d67 JH |
16 | /* Set to zero to skip the check for delta object base; |
17 | * set to two to check delta dependency even for objects we already have. | |
18 | */ | |
4a62b619 JH |
19 | extern int get_delta; |
20 | ||
e78d9772 JH |
21 | /* Set to be verbose */ |
22 | extern int get_verbosely; | |
23 | ||
24 | /* Report what we got under get_verbosely */ | |
25 | extern void pull_say(const char *, const char *); | |
26 | ||
4250a5e5 DB |
27 | extern int pull(char *target); |
28 | ||
29 | #endif /* PULL_H */ |