summaryrefslogtreecommitdiffstats
path: root/setup.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-04-30 18:22:45 +0200
committerJunio C Hamano <gitster@pobox.com>2014-09-03 19:04:18 +0200
commit7521cc4611a783f4a8174bd0fcec5f4a47357ac1 (patch)
treef7899864eb68c59e00240aae505ad2d220184594 /setup.c
parentrefs.c: make prune_ref use a transaction to delete the ref (diff)
downloadgit-7521cc4611a783f4a8174bd0fcec5f4a47357ac1.tar.xz
git-7521cc4611a783f4a8174bd0fcec5f4a47357ac1.zip
refs.c: make delete_ref use a transaction
Change delete_ref to use a ref transaction for the deletion. At the same time since we no longer have any callers of repack_without_ref we can now delete this function. Change delete_ref to return 0 on success and 1 on failure instead of the previous 0 on success either 1 or -1 on failure. 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 'setup.c')
0 files changed, 0 insertions, 0 deletions