summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2009-10-31 00:47:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-31 02:20:53 (GMT)
commitedace6f02eeae6f4a06ed1e4f6308703523d8535 (patch)
tree6d9b04955335bca0703fee906764720f353afa72 /diff.c
parent743c4b7b0fa5422d1bb5dc59c6cb919a881dd98b (diff)
downloadgit-edace6f02eeae6f4a06ed1e4f6308703523d8535.zip
git-edace6f02eeae6f4a06ed1e4f6308703523d8535.tar.gz
git-edace6f02eeae6f4a06ed1e4f6308703523d8535.tar.bz2
fetch-pack: Use a strbuf to compose the want list
This change is being offered as a refactoring to make later commits in the smart HTTP series easier. By changing the enabled capabilities to be formatted in a strbuf it is easier to add a new capability to the set of supported capabilities. By formatting the want portion of the request into a strbuf and writing it as a whole block we can later decide to hold onto the req_buf (instead of releasing it) to recycle in stateless communications. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions