summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2015-02-15 19:33:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-02-17 13:40:49 -0800
commitdc8edc8f7d503b96dc4ceb275f7f6ca7637be5a9 (patch)
treee82cbd6028cabce7a06e05934575a447e41430c0 /Documentation/git-pack-objects.txt
parentdaemon: look up client-supplied hostname lazily (diff)
downloadtgif-dc8edc8f7d503b96dc4ceb275f7f6ca7637be5a9.tar.xz
daemon: use callback to build interpolated path
Provide a callback function for strbuf_expand() instead of using the helper strbuf_expand_dict_cb(). While the resulting code is longer, it only looks up the canonical hostname and IP address if at least one of the placeholders %CH and %IP are used with --interpolated-path. Use a struct for passing the directory to the callback function instead of passing it directly to avoid having to cast away its const qualifier. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
0 files changed, 0 insertions, 0 deletions