]> git.ipfire.org Git - thirdparty/git.git/blame - pull.h
[PATCH] git-merge-one-file-script: do not misinterpret rm failure.
[thirdparty/git.git] / pull.h
CommitLineData
4250a5e5
DB
1#ifndef PULL_H
2#define PULL_H
3
4/** To be provided by the particular implementation. **/
5extern int fetch(unsigned char *sha1);
6
cd541a68
DB
7extern int fetch_ref(char *ref, unsigned char *sha1);
8
9/** If set, the ref filename to write the target value to. **/
10extern const char *write_ref;
11
12/** If set, the hash that the current value of write_ref must be. **/
13extern const unsigned char *current_ref;
14
4250a5e5
DB
15/** Set to fetch the target tree. */
16extern int get_tree;
17
18/** Set to fetch the commit history. */
19extern int get_history;
20
21/** Set to fetch the trees in the commit history. **/
22extern int get_all;
23
a48e1d67
JH
24/* Set to zero to skip the check for delta object base;
25 * set to two to check delta dependency even for objects we already have.
26 */
4a62b619
JH
27extern int get_delta;
28
e78d9772
JH
29/* Set to be verbose */
30extern int get_verbosely;
31
32/* Report what we got under get_verbosely */
33extern void pull_say(const char *, const char *);
34
4250a5e5
DB
35extern int pull(char *target);
36
37#endif /* PULL_H */