summaryrefslogtreecommitdiff
path: root/builtin/help.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2014-05-17 14:16:36 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-19 13:39:53 -0700
commit24790835738dc098fa6becedc44aac0341b7d5af (patch)
tree85980c644b0fd861e33954a607e5ad103d3486f5 /builtin/help.c
parentreplace: refactor checking ref validity (diff)
downloadtgif-24790835738dc098fa6becedc44aac0341b7d5af.tar.xz
replace: die early if replace ref already exists
If a replace ref already exists for an object, it is much better for the user if we error out before we let the user edit the object, rather than after. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions