summaryrefslogtreecommitdiff
path: root/t/t5602-clone-remote-exec.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-12-13 03:28:05 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-12-19 13:51:09 -0800
commit4de0bbd8985ea057050994c5b254c9ef3d845c1e (patch)
tree6707c25e955164a7930d15818dd52b825434fe7e /t/t5602-clone-remote-exec.sh
parentbuiltin/rm.c: Use ALLOC_GROW instead of alloc_nr and xrealloc. (diff)
downloadtgif-4de0bbd8985ea057050994c5b254c9ef3d845c1e.tar.xz
t9300: use perl "head -c" clone in place of "dd bs=1 count=16000" kluge
It is unfortunate to have to issue thousands of one-byte read calls to work around dd's refusal to buffer input that would fill a block after a short read (a3a6f4, 2010-12-13). We could do better by using "head -c", if it were available on all platforms we cared about. Replace it with some simple perl. While doing so, restructure 9300.114 to use a subshell instead of a script. Subshells can inherit functions (like the new head_c) from the parent shell while external scripts cannot. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5602-clone-remote-exec.sh')
0 files changed, 0 insertions, 0 deletions