summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2019-02-14 11:06:36 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-14 12:47:55 -0800
commit5d91669309d23383651c352abd00254982e31902 (patch)
treea8774d7cfc42b96bba4d130c760267a0366bb923 /Documentation/git-pack-objects.txt
parentremote-curl: reduce scope of rpc_state.argv (diff)
downloadtgif-5d91669309d23383651c352abd00254982e31902.tar.xz
remote-curl: reduce scope of rpc_state.stdin_preamble
The stdin_preamble field in struct rpc_state is only used in rpc_service(), and not in any functions it directly or indirectly calls. Refactor it to become an argument of rpc_service() instead. An observation of all callers of rpc_service() shows that the preamble is always set, so we no longer need the "if (preamble)" check. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
0 files changed, 0 insertions, 0 deletions