X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=pull.h;h=bd5e7bdeb316ecf1ccc01f0d23d710dcd7813242;hb=17ebe977d72290dcdc848b78ae2e65b59d4e1b4c;hp=d2dca02de7c23426e84e9f63762df9428933e8d8;hpb=e78d97723cd77d46d8767a5a27965077249fd080;p=git.git diff --git a/pull.h b/pull.h index d2dca02d..bd5e7bde 100644 --- a/pull.h +++ b/pull.h @@ -4,6 +4,14 @@ /** To be provided by the particular implementation. **/ extern int fetch(unsigned char *sha1); +extern int fetch_ref(char *ref, unsigned char *sha1); + +/** If set, the ref filename to write the target value to. **/ +extern const char *write_ref; + +/** If set, the hash that the current value of write_ref must be. **/ +extern const unsigned char *current_ref; + /** Set to fetch the target tree. */ extern int get_tree; @@ -13,6 +21,11 @@ extern int get_history; /** Set to fetch the trees in the commit history. **/ extern int get_all; +/* Set to zero to skip the check for delta object base; + * set to two to check delta dependency even for objects we already have. + */ +extern int get_delta; + /* Set to be verbose */ extern int get_verbosely;