]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/commit.c
builtin/commit: suggest update-ref for pseudoref removal
authorHan-Wen Nienhuys <hanwen@google.com>
Fri, 21 Aug 2020 16:59:36 +0000 (16:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Aug 2020 18:20:10 +0000 (11:20 -0700)
commitb6d2558c9ea37382078635022f8932565bea8ca1
tree37eae363af32946241769b62423aaca702fcf6f6
parentc8e4159efd226218d827b5da71fc8f95f8172412
builtin/commit: suggest update-ref for pseudoref removal

When pseudorefs move to a different ref storage mechanism, pseudorefs no longer
can be removed with 'rm'. Instead, suggest a "update-ref -d" command, which will
work regardless of ref storage backend.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c