X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=pull.h;h=e7710e89e710979283f82fe3e67ca1296e70b556;hb=78938b0d8a95b09d94af214fdb6b5f053a5edb98;hp=e173ae3337c4465da87d849f4e5c9da203fdf01d;hpb=80bd6f3064a6009cd18a4dab9ce6d29681cec4af;p=git.git diff --git a/pull.h b/pull.h index e173ae33..e7710e89 100644 --- a/pull.h +++ b/pull.h @@ -9,6 +9,13 @@ extern int fetch(unsigned char *sha1); /* + * Fetch the specified object and store it locally; fetch() will be + * called later to determine success. To be provided by the particular + * implementation. + */ +extern void prefetch(unsigned char *sha1); + +/* * Fetch ref (relative to $GIT_DIR/refs) from the remote, and store * the 20-byte SHA1 in sha1. Return 0 on success, -1 on failure. To * be provided by the particular implementation.