diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-11-20 13:59:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-20 14:04:26 -0800 |
commit | 099f1488d5eda3b71e7c442e1deed97ba9548563 (patch) | |
tree | 8ddfab2e619475a96ddd276d726bb29dc74df697 /object.c | |
parent | e69b1ce000e6c530ac8bf06470742456277e2a36 (diff) | |
download | git-sb/log-ref-write-fd.tar.gz |
refs.c: add a function to append a reflog entry to a fdsb/log-ref-write-fd
Move code to create the string for a ref and write it to a file
descriptor from log_ref_write and add it into a new dedicated
function log_ref_write_fd.
For now the new function is only used from log_ref_write, but later
on we will call this function from reflog transactions too. That
means that we will end up with only a single place, where we write
a reflog entry to a file instead of the current two places
(log_ref_write and builtin/reflog.c).
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions