1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-15 13:43:45 +01:00
git/t/lib-httpd/broken-smart-http.sh
Jeff King c7db2d1647 t/lib-httpd: use write_script to copy CGI scripts
Using write_script will set our shebang line appropriately
with $SHELL_PATH. The script that is there now is quite
simple and likely to succeed even with a non-POSIX /bin/sh,
but it does not hurt to be defensive.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-05-23 12:41:50 -07:00

10 lines
339 B
Bash

printf "Content-Type: text/%s\n" "html"
echo
printf "%s\n" "001e# service=git-upload-pack"
printf "%s" "0000"
printf "%s%c%s%s\n" \
"00a58681d9f286a48b08f37b3a095330da16689e3693 HEAD" \
0 \
" include-tag multi_ack_detailed multi_ack ofs-delta" \
" side-band side-band-64k thin-pack no-progress shallow no-done "
printf "%s" "0000"