author | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Sep 2006 22:02:00 +0000 (15:02 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 30 Sep 2006 22:20:44 +0000 (15:20 -0700) | ||
commit | c0277d15effb9efcaaaa0cd84decf71a327ac07b | |
tree | ebac14633dc875be278744d442e8027713b30fa1 | tree | snapshot |
parent | 22a3844ebada55c207e2b85fb68509a7c9e2b5f0 | commit | diff |
delete_ref(): delete packed ref
This implements deletion of a packed ref. Since it is a very
rare event to delete a ref compared to looking up, creating and
updating, this opts to remove the ref from the packed-ref file
instead of doing any of the filesystem based "negative ref" trick
to optimize the deletion path.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This implements deletion of a packed ref. Since it is a very
rare event to delete a ref compared to looking up, creating and
updating, this opts to remove the ref from the packed-ref file
instead of doing any of the filesystem based "negative ref" trick
to optimize the deletion path.
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |