summaryrefslogtreecommitdiff
path: root/builtin/mktag.c
diff options
context:
space:
mode:
authorLibravatar Ronnie Sahlberg <sahlberg@google.com>2014-12-12 09:56:42 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 11:42:00 -0800
commit2c6207abbd6c430be06ddfef97d145d7e21446fb (patch)
tree5fe0456248291dc56f77a81d538cf8e250e27661 /builtin/mktag.c
parentrefs.c: make ref_transaction_delete a wrapper for ref_transaction_update (diff)
downloadtgif-2c6207abbd6c430be06ddfef97d145d7e21446fb.tar.xz
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 'builtin/mktag.c')
0 files changed, 0 insertions, 0 deletions