refs: preserve the owning refdb when duping reference
This fixes a segfault in git_reference_owner on references returned from git_reference__read_head and git_reference_dup ones.
Showing
Please
register
or
sign in
to comment
This fixes a segfault in git_reference_owner on references returned from git_reference__read_head and git_reference_dup ones.