Skip to content

ref deletion and D/F conflict avoidance with packed-refs.

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ref locking: allow 'foo' when 'foo/bar' used to exist but not anymore.refs.c+64 -00 replies
2/6refs: minor restructuring of cached refs data.refs.c+43 -130 replies
3/6lock_ref_sha1(): do not sometimes error() and sometimes die().refs.c+18 -80 replies
4/6lock_ref_sha1(): check D/F conflict with packed ref when creating.refs.c+24 -00 replies
5/6delete_ref(): delete packed refrefs.c+77 -320 replies
6/6git-branch: remove D/F check done by hand.git-branch.sh+0 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] ref deletion and D/F conflict avoidance with packed-refs.

This series cleans up the area that was affected by the recent addition of "packed-refs". Christian Couder and Jeff King CC'ed since they seem to be touching in the general vicinity of the code these patches touch.

[1/6] ref locking: allow 'foo' when 'foo/bar' used to exist but not anymore. [2/6] refs: minor restructuring of cached refs data.
[3/6] lock_ref_sha1(): do not sometimes error() and sometimes die(). [4/6] lock_ref_sha1(): check D/F conflict with packed ref when creating. [5/6] delete_ref(): delete packed ref
[6/6] git-branch: remove D/F check done by hand.

I opted for removing from the packed-ref file when a ref that is packed is deleted.