diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-04-02 09:09:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-02 11:09:48 -0700 |
commit | 804dba54f5abdb35b5d15eed63625581c82697fb (patch) | |
tree | da32667d14652f29008b58fed12076062d656773 /Documentation | |
parent | update-ref: drop unused argument for `parse_refname` (diff) | |
download | tgif-804dba54f5abdb35b5d15eed63625581c82697fb.tar.xz |
update-ref: pass end pointer instead of strbuf
We currently pass both an `strbuf` containing the current command line
as well as the `next` pointer pointing to the first argument to
commands. This is both confusing and makes code more intertwined.
Convert this to use a simple pointer as well as a pointer pointing to
the end of the input as a preparatory step to line-wise reading of
stdin.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions