receive-pack: Refactor how capabilities are shown to the client
commit185c04e041fb33191c5828339381fd8c4058a43a
authorShawn O. Pearce <spearce@spearce.org>
Fri, 5 Feb 2010 20:57:40 +0000 (5 12:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2010 04:57:25 +0000 (5 20:57 -0800)
treebd0329b5bf443e06b55ae67222e211ac54b45e15
parent0c499ea60fda716198c76f2d5febe3998d302afb
receive-pack: Refactor how capabilities are shown to the client

Moving capability advertisement into the packet_write call itself
makes it easier to add additional capabilities to the list, be
it optional by configuration, or always present in the protocol.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c