[PATCH 0/3] symref rename/delete fixes
From: Miklos Vajna <hidden>
Date: 2016-06-15 22:45:32
On Mon, Oct 27, 2008 at 09:50:55AM +0100, Miklos Vajna [off-list ref] wrote:
Ah, I missed that. You convienced me, I'll post updated patches later today. :)
Here they are. The first is updated: the delete_ref() part is unchanged, but the rename_ref() part is dropped and it just bails out with an error if it detects a symref. The testcase is updated according to this as well. The two others are just rebased on top of the new first one, no functional changes. Miklos Vajna (3): Disallow git branch -m for symrefs. rename_ref(): handle the case when the reflog of a ref does not exist Fix git update-ref --no-deref -d. builtin-branch.c | 2 +- builtin-receive-pack.c | 2 +- builtin-remote.c | 4 ++-- builtin-reset.c | 2 +- builtin-send-pack.c | 2 +- builtin-tag.c | 2 +- builtin-update-ref.c | 8 +++++--- cache.h | 2 +- refs.c | 35 ++++++++++++++++++++++++----------- t/t1400-update-ref.sh | 7 +++++++ t/t3200-branch.sh | 9 +++++++++ 11 files changed, 53 insertions(+), 22 deletions(-)