git-apply: consider it an error to apply no changes
[git/spearce.git] / pull.h
blob30086fdb12496a9da78aaf3969ca32fc5af98c5a
1 #ifndef PULL_H
2 #define PULL_H
4 /** To be provided by the particular implementation. **/
5 extern int fetch(unsigned char *sha1);
7 /** Set to fetch the target tree. */
8 extern int get_tree;
10 /** Set to fetch the commit history. */
11 extern int get_history;
13 /** Set to fetch the trees in the commit history. **/
14 extern int get_all;
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.
19 extern int get_delta;
21 /* Set to be verbose */
22 extern int get_verbosely;
24 /* Report what we got under get_verbosely */
25 extern void pull_say(const char *, const char *);
27 extern int pull(char *target);
29 #endif /* PULL_H */