summaryrefslogtreecommitdiff
path: root/fetch.h
diff options
context:
space:
mode:
authorLibravatar Petr Baudis <pasky@suse.cz>2006-07-27 23:56:17 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-27 19:33:48 -0700
commit4211e4d10cd98b1aeed97bdb6cdebb9411956bb5 (patch)
tree223090ece6a5e547e1e825051d9ca902b2977173 /fetch.h
parentMake pull() take some implicit data as explicit arguments (diff)
downloadtgif-4211e4d10cd98b1aeed97bdb6cdebb9411956bb5.tar.xz
Make pull() support fetching multiple targets at once
pull() now takes an array of arguments instead of just one of each kind. Currently, no users use the new capability, but that'll change. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch.h')
-rw-r--r--fetch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch.h b/fetch.h
index 7bda355bc1..75e48af780 100644
--- a/fetch.h
+++ b/fetch.h
@@ -42,7 +42,7 @@ extern void pull_say(const char *, const char *);
/* 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(char *target, const char *write_ref,
+extern int pull(int targets, char **target, const char **write_ref,
const char *write_ref_log_details);
#endif /* PULL_H */