commit | 5f3c3a4e6f11dedad93d9f5bb2caa85c684db54a | [log] [tgz] |
---|---|---|
author | David Turner <dturner@twopensource.com> | Tue Nov 10 12:42:39 2015 +0100 |
committer | Jeff King <peff@peff.net> | Fri Nov 20 04:52:01 2015 -0500 |
tree | e83ce9f7866a76a2aba084b794635bf37641df85 | |
parent | eb33876c262bec79a127b82a3a853ad00665d894 [diff] |
files_log_ref_write: new function Because HEAD and stash are per-worktree, every refs backend needs to go through the files backend to write these refs. So create a new function, files_log_ref_write, and add it to refs/refs-internal.h. Later, we will use this to handle reflog updates for per-worktree symbolic refs (HEAD). Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net>