diff options
author | 2014-04-30 09:03:36 -0700 | |
---|---|---|
committer | 2014-09-03 10:04:18 -0700 | |
commit | 029cdb4ab21c49a916efd68eaf2d2431c7fab7c7 (patch) | |
tree | 29082e54c8188c97df156d250cd2b1cd6d364081 /server-info.c | |
parent | refs.c: remove lock_ref_sha1 (diff) | |
download | tgif-029cdb4ab21c49a916efd68eaf2d2431c7fab7c7.tar.xz |
refs.c: make prune_ref use a transaction to delete the ref
Change prune_ref to delete the ref using a ref transaction. To do this we also
need to add a new flag REF_ISPRUNING that will tell the transaction that we
do not want to delete this ref from the packed refs. This flag is private to
refs.c and not exposed to external callers.
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'server-info.c')
0 files changed, 0 insertions, 0 deletions