Skip to content

Commit

Permalink
Merge branch 'eb/upload-archive-from-git-shell'
Browse files Browse the repository at this point in the history
* eb/upload-archive-from-git-shell:
  git-shell: Add 'git-upload-archive' to allowed commands.
  • Loading branch information
Junio C Hamano committed Apr 18, 2009
2 parents 1dd9b63 + 79f72b9 commit ef5542c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/git-shell.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
interactive.

Currently, only three commands are permitted to be called, 'git-receive-pack'
'git-upload-pack' with a single required argument or 'cvs server' (to invoke
'git-cvsserver').
Currently, only four commands are permitted to be called, 'git-receive-pack'
'git-upload-pack' and 'git-upload-archive' with a single required argument, or
'cvs server' (to invoke 'git-cvsserver').

Author
------
Expand Down
1 change: 1 addition & 0 deletions shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
};
Expand Down

0 comments on commit ef5542c

Please sign in to comment.