summaryrefslogtreecommitdiff
path: root/local-fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'local-fetch.c')
-rw-r--r--local-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/local-fetch.c b/local-fetch.c
index 452b833..1be7390 100644
--- a/local-fetch.c
+++ b/local-fetch.c
@@ -242,7 +242,7 @@ int main(int argc, char **argv)
commit_id = argv[arg];
path = argv[arg + 1];
- if (pull(commit_id, write_ref, path))
+ if (pull(1, &commit_id, &write_ref, path))
return 1;
return 0;