summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-04-02 09:09:48 +0200
committerJunio C Hamano <gitster@pobox.com>2020-04-02 11:09:48 -0700
commit804dba54f5abdb35b5d15eed63625581c82697fb (patch)
treeda32667d14652f29008b58fed12076062d656773 /builtin/commit.c
parent5ae6c5a7129a55e69d39cfb70c78bb5b92bbccb7 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions