[PATCH] Document git-ssh-pull and git-ssh-push
[git/jrn.git] / pull.h
blobbd5e7bdeb316ecf1ccc01f0d23d710dcd7813242
1 #ifndef PULL_H
2 #define PULL_H
4 /** To be provided by the particular implementation. **/
5 extern int fetch(unsigned char *sha1);
7 extern int fetch_ref(char *ref, unsigned char *sha1);
9 /** If set, the ref filename to write the target value to. **/
10 extern const char *write_ref;
12 /** If set, the hash that the current value of write_ref must be. **/
13 extern const unsigned char *current_ref;
15 /** Set to fetch the target tree. */
16 extern int get_tree;
18 /** Set to fetch the commit history. */
19 extern int get_history;
21 /** Set to fetch the trees in the commit history. **/
22 extern int get_all;
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.
27 extern int get_delta;
29 /* Set to be verbose */
30 extern int get_verbosely;
32 /* Report what we got under get_verbosely */
33 extern void pull_say(const char *, const char *);
35 extern int pull(char *target);
37 #endif /* PULL_H */