summaryrefslogtreecommitdiffstats
path: root/builtin/upload-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/upload-pack.c')
-rw-r--r--builtin/upload-pack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/upload-pack.c b/builtin/upload-pack.c
index 46d93278d9..3b6c83fbce 100644
--- a/builtin/upload-pack.c
+++ b/builtin/upload-pack.c
@@ -17,7 +17,10 @@ static const char * const upload_pack_usage[] = {
NULL
};
-int cmd_upload_pack(int argc, const char **argv, const char *prefix)
+int cmd_upload_pack(int argc,
+ const char **argv,
+ const char *prefix,
+ struct repository *repo UNUSED)
{
const char *dir;
int strict = 0;