diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2019-02-14 11:06:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-14 12:47:55 -0800 |
commit | 5d91669309d23383651c352abd00254982e31902 (patch) | |
tree | a8774d7cfc42b96bba4d130c760267a0366bb923 /Documentation/diff-generate-patch.txt | |
parent | remote-curl: reduce scope of rpc_state.argv (diff) | |
download | tgif-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/diff-generate-patch.txt')
0 files changed, 0 insertions, 0 deletions