Add git-shell.
authorLinus Torvalds <torvalds@osdl.org>
Sun, 23 Oct 2005 21:30:45 +0000 (14:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 24 Oct 2005 22:12:41 +0000 (15:12 -0700)
commit35eb2d36418a25f9e956b116a622d8d99f4abad9
tree2ada0cb8fce070b6b2c56fa689791230636f1857
parent38cc7ab8144e111b47ac0ad3fcf6cb70d546e473
Add git-shell.

This adds a very git specific restricted shell, that can be
added to /etc/shells and set to the pw_shell in the /etc/passwd
file, to give users ability to push into repositories over ssh
without giving them full interactive shell acount.

[jc: I updated Linus' patch to match what the current sq_quote()
 does.]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
quote.c
quote.h
shell.c [new file with mode: 0644]