refs: include committer info in `ref_update` struct
The reference backends obtain the committer information from
git_committer_info(0)
when adding a reflog. In the upcoming patches we
want to introduce support for migrating reflogs between the reference
backends. To do this, we need to provide an interface to creating
reflogs, including custom committer information.
To do this, let's add a new field committer_info
to the ref_update
struct, which is then used by the reference backends. In the next patch
we'll add a function which allows users to set this field, for now, we
default to git_committer_info(0)
.
Signed-off-by: Karthik Nayak karthik.188@gmail.com
Related to #320 (closed)