summaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2010-04-17 13:07:38 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-04-17 13:55:46 -0700
commit0da8b2e7c80a6dd9743e5233cdc5acd836c9a8d3 (patch)
tree1c8f8548342df22ca2728428f0dcf7f0f0890a22 /editor.c
parenthttp.c: Drop useless != NULL test in finish_http_pack_request (diff)
downloadtgif-0da8b2e7c80a6dd9743e5233cdc5acd836c9a8d3.tar.xz
http.c: Don't store destination name in request structures
The destination name within the object store is easily computed on demand, reusing a static buffer held by sha1_file.c. We don't need to copy the entire path into the request structure for safe keeping, when it can be easily reformatted after the download has been completed. This reduces the size of the per-request structure, and removes yet another PATH_MAX based limit. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions