This series fixes two off-by-one errors in git-daemon noticed by Michael (who then nerd-sniped me into fixing them). It also improves git-daemon's verbose logging of extended attributes, and beefs up the tests a bit. Before anyone gets excited, no, these aren't security-interesting errors. The only effect you could have is for git-daemon to reject your request as nonsense. ;) [1/6]: t5570: use ls-remote instead of clone for interp tests [2/6]: t/lib-git-daemon: record daemon log [3/6]: daemon: fix off-by-one in logging extended attributes [4/6]: daemon: handle NULs in extended attribute string [5/6]: t/lib-git-daemon: add network-protocol helpers [6/6]: daemon: fix length computation in newline stripping daemon.c | 15 ++++++--------- t/lib-git-daemon.sh | 37 ++++++++++++++++++++++++++++++++++--- t/t5570-git-daemon.sh | 37 +++++++++++++++++++++++++++++++------ t/test-lib-functions.sh | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 18 deletions(-) -Peff