From 79f72b97633d1699f131e798bb9833339ba22f6a Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Thu, 9 Apr 2009 21:58:52 +0200 Subject: git-shell: Add 'git-upload-archive' to allowed commands. This allows for example gitosis to allow use of 'git archive --remote' in a controlled environment. Signed-off-by: Erik Broes Signed-off-by: Junio C Hamano --- shell.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell.c') diff --git a/shell.c b/shell.c index e3393690dd..b968be79f4 100644 --- a/shell.c +++ b/shell.c @@ -40,6 +40,7 @@ static struct commands { } cmd_list[] = { { "git-receive-pack", do_generic_cmd }, { "git-upload-pack", do_generic_cmd }, + { "git-upload-archive", do_generic_cmd }, { "cvs", do_cvs_cmd }, { NULL }, }; -- cgit v1.2.3