]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
initial_ref_transaction_commit(): check for duplicate refs
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 22 Jun 2015 14:03:03 +0000 (16:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2015 20:17:11 +0000 (13:17 -0700)
commitfb802b312961f49d0aa35f50e72a9a2d17fde9aa
tree181c727902f5904005a938cb18413e89a7b26bee
parent0a4b24ff146405fb636d74945c0fdf1afaef3fd6
initial_ref_transaction_commit(): check for duplicate refs

Error out if the ref_transaction includes more than one update for any
refname.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c