aboutsummaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorErik Broes <erikbroes@ripe.net>2009-04-09 21:58:52 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-11 11:01:15 -0700
commit79f72b97633d1699f131e798bb9833339ba22f6a (patch)
tree104ce0ac58e941cbe160f7283920a103f3995e38 /shell.c
parente37347bba651f051998f23a3701b555f1a194557 (diff)
downloadgit-79f72b97633d1699f131e798bb9833339ba22f6a.tar.gz
git-79f72b97633d1699f131e798bb9833339ba22f6a.tar.xz
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 <erikbroes@ripe.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index e3393690d..b968be79f 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 },
};