diff options
author | David Turner <dturner@twopensource.com> | 2015-11-10 12:42:40 +0100 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-20 04:52:01 -0500 |
commit | 0845122c39c415fa50904ee94c6b60e4e722466b (patch) | |
tree | 7fcb6eb01d6f13d272f346079a1e57eb8cbe32f8 /test-read-cache.c | |
parent | files_log_ref_write: new function (diff) | |
download | tgif-0845122c39c415fa50904ee94c6b60e4e722466b.tar.xz |
refs: break out ref conflict checks
Create new function find_descendant_ref, to hold one of the ref
conflict checks used in verify_refname_available. Multiple backends
will need this function, so move it to the common code.
Also move rename_ref_available to the common code, because alternate
backends might need it and it has no files-backend-specific code.
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>
Diffstat (limited to 'test-read-cache.c')
0 files changed, 0 insertions, 0 deletions