This series fixes a bug where ls-remote sends a ref-advertisement prefix when it shouldn't, and then optimizes a spot where it doesn't send one but could. [1/2]: ls-remote: do not send ref prefixes for patterns [2/2]: ls-remote: pass heads/tags prefixes to transport builtin/ls-remote.c | 13 +++++-------- t/t5512-ls-remote.sh | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+), 8 deletions(-) -Peff