diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-04-07 15:47:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-07 12:09:11 -0700 |
commit | e23d84350a3f4a3bfb86037eb1e6c4b28240324e (patch) | |
tree | 2d0105cc86c4c49c7366001a951b644fbfc074b0 /attr.c | |
parent | update_refs(): fix constness (diff) | |
download | tgif-e23d84350a3f4a3bfb86037eb1e6c4b28240324e.tar.xz |
update-ref --stdin: read the whole input at once
Read the whole input into a strbuf at once, and then parse it from
there. This might also be a tad faster, but that is not the point.
The point is to decouple the parsing code from the input source (the
old parsing code had to read new data even in the middle of commands).
Add docstrings for the parsing functions.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions