update-ref: fail create operation over stdin if ref already exists
commitb9d56b5dd9a8819c900725b8618f8bd994a5054f
authorAman Gupta <aman@tmm1.net>
Wed, 2 Apr 2014 08:09:54 +0000 (2 10:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Apr 2014 17:40:43 +0000 (2 10:40 -0700)
treea0193e8f5125fc9177711e01f324771b9b924516
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
update-ref: fail create operation over stdin if ref already exists

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/update-ref.c
t/t1400-update-ref.sh