Merge branch 'eb/upload-archive-from-git-shell'
* eb/upload-archive-from-git-shell: git-shell: Add 'git-upload-archive' to allowed commands.
This commit is contained in:
commit
ef5542ca93
@ -18,9 +18,9 @@ of server-side GIT commands implementing the pull/push functionality.
|
|||||||
The commands can be executed only by the '-c' option; the shell is not
|
The commands can be executed only by the '-c' option; the shell is not
|
||||||
interactive.
|
interactive.
|
||||||
|
|
||||||
Currently, only three commands are permitted to be called, 'git-receive-pack'
|
Currently, only four commands are permitted to be called, 'git-receive-pack'
|
||||||
'git-upload-pack' with a single required argument or 'cvs server' (to invoke
|
'git-upload-pack' and 'git-upload-archive' with a single required argument, or
|
||||||
'git-cvsserver').
|
'cvs server' (to invoke 'git-cvsserver').
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
1
shell.c
1
shell.c
@ -40,6 +40,7 @@ static struct commands {
|
|||||||
} cmd_list[] = {
|
} cmd_list[] = {
|
||||||
{ "git-receive-pack", do_generic_cmd },
|
{ "git-receive-pack", do_generic_cmd },
|
||||||
{ "git-upload-pack", do_generic_cmd },
|
{ "git-upload-pack", do_generic_cmd },
|
||||||
|
{ "git-upload-archive", do_generic_cmd },
|
||||||
{ "cvs", do_cvs_cmd },
|
{ "cvs", do_cvs_cmd },
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user