summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-06-22 16:03:04 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-22 13:17:12 -0700
commite426ff4222ba82a57ed459320509273dc8959ade (patch)
tree6beec8b70933e9068471a1c284b883e834acd885 /log-tree.h
parentinitial_ref_transaction_commit(): check for duplicate refs (diff)
downloadtgif-e426ff4222ba82a57ed459320509273dc8959ade.tar.xz
initial_ref_transaction_commit(): check for ref D/F conflicts
In initial_ref_transaction_commit(), check for D/F conflicts (i.e., the type of conflict that exists between "refs/foo" and "refs/foo/bar") among the references being created and between the references being created and any hypothetical existing references. Ideally, there shouldn't *be* any existing references when this function is called. But, at least in the case of the "testgit" remote helper, "clone" can be called after the remote-tracking "HEAD" and "master" branches have already been created. So let's just do the full-blown check. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.h')
0 files changed, 0 insertions, 0 deletions