diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-12-12 08:56:42 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-12 19:42:00 (GMT) |
commit | 2c6207abbd6c430be06ddfef97d145d7e21446fb (patch) | |
tree | 5fe0456248291dc56f77a81d538cf8e250e27661 /update_unicode.sh | |
parent | a785d3f77c9922846f25d09fb04af9a3400ffbd1 (diff) | |
download | git-2c6207abbd6c430be06ddfef97d145d7e21446fb.zip git-2c6207abbd6c430be06ddfef97d145d7e21446fb.tar.gz git-2c6207abbd6c430be06ddfef97d145d7e21446fb.tar.bz2 |
refs.c: add a function to append a reflog entry to a fd
Break out the code to create the string and writing it to the file
descriptor from log_ref_write and add it into a dedicated function
log_ref_write_fd. It is a nice unit of work.
For now this is only used from log_ref_write, but in the future it
might have other callers.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'update_unicode.sh')
0 files changed, 0 insertions, 0 deletions