Short-cut error return path in git-local-pull.
[git/gitweb.git] / pull.h
blob314bc7e95ab1a73634f6a96a8a3782fda91ea261
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 extern int pull(char *target);
18 #endif /* PULL_H */