fsck-cache: fix SIGSEGV on bad tag object
[git/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 extern int pull(char *target);
17
18 #endif /* PULL_H */