author | Lea Wiemann <lewiemann@gmail.com> | |
Tue, 17 Jun 2008 21:46:35 +0000 (23:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 17 Jun 2008 23:39:09 +0000 (16:39 -0700) | ||
commit | 516381d50ba7acb66f260461f4d566ab9b6df107 | |
tree | 5e23d0249d57b89ad49279c388fe19235a70488b | tree | snapshot |
parent | 79c6dca413094d2df74e7050f1185963b00e9245 | commit | diff |
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>
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 | diff | blob | history |