Code

gitweb: quote commands properly when calling the shell
authorLea Wiemann <lewiemann@gmail.com>
Tue, 17 Jun 2008 21:46:35 +0000 (23:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jun 2008 23:39:09 +0000 (16:39 -0700)
commit516381d50ba7acb66f260461f4d566ab9b6df107
tree5e23d0249d57b89ad49279c388fe19235a70488b
parent79c6dca413094d2df74e7050f1185963b00e9245
gitweb: quote commands properly when calling the shell

This eliminates the function git_cmd_str, which was used for composing
command lines, and adds a quote_command function, which quotes all of
its arguments (as in quote.c).

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl