symref rename/delete fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 1 replyIn review
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] symref rename/delete fixes
Quoted 2 lines · Miklos Vajna
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(-)