summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2012-08-07 05:01:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-07 05:29:30 (GMT)
commit2c3fd4bbb42b586b016319d2009a05fe5b878533 (patch)
tree281126b364e0b8c392afc5968e72dddf100e6fc3 /builtin/receive-pack.c
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e (diff)
downloadgit-2c3fd4bbb42b586b016319d2009a05fe5b878533.zip
git-2c3fd4bbb42b586b016319d2009a05fe5b878533.tar.gz
git-2c3fd4bbb42b586b016319d2009a05fe5b878533.tar.bz2
t/t5400: demonstrate breakage caused by informational message from prune
When receive-pack triggers 'git gc --auto' and 'git prune' is called to remove a stale temporary object, 'git prune' prints an informational message to stdout about the file that it will remove. Since this message is written to stdout, it is sent back over the transport channel to the git client which tries to interpret it as part of the pack protocol and then promptly terminates with a complaint about a protocol error. Introduce a test which exercises the auto-gc functionality of receive-pack and demonstrates this breakage. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions