diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-01-06 17:22:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-07 19:30:09 -0800 |
commit | 4533e5343bb1171b932f787e345d6cff920a4e70 (patch) | |
tree | 4f11c60bb7887d0f8b770bae48256c661b89ef98 /t/helper | |
parent | log_ref_write_1(): don't depend on logfile argument (diff) | |
download | tgif-4533e5343bb1171b932f787e345d6cff920a4e70.tar.xz |
log_ref_setup(): manage the name of the reflog file internally
Instead of writing the name of the reflog file into a strbuf that is
supplied by the caller but not needed there, write it into a local
temporary buffer and remove the strbuf parameter entirely.
And while we're adjusting the function signature, reorder the arguments
to move the input parameters before the output parameters.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
0 files changed, 0 insertions, 0 deletions