X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=fetch.h;h=be48c6f19092a81672dd24eb38e9ffca39f5b53c;hb=6900679c2f6d937a5a6ef616869c8887690ad19d;hp=75e48af78029d0ca352f2e429c62248d05a70db1;hpb=4211e4d10cd98b1aeed97bdb6cdebb9411956bb5;p=git.git diff --git a/fetch.h b/fetch.h index 75e48af78..be48c6f19 100644 --- a/fetch.h +++ b/fetch.h @@ -40,6 +40,12 @@ extern int get_recover; /* Report what we got under get_verbosely */ extern void pull_say(const char *, const char *); +/* Load pull targets from stdin */ +extern int pull_targets_stdin(char ***target, const char ***write_ref); + +/* Free up loaded targets */ +extern void pull_targets_free(int targets, char **target, const char **write_ref); + /* If write_ref is set, the ref filename to write the target value to. */ /* If write_ref_log_details is set, additional text will appear in the ref log. */ extern int pull(int targets, char **target, const char **write_ref,