summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-04-30 09:22:45 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-03 10:04:18 -0700
commit7521cc4611a783f4a8174bd0fcec5f4a47357ac1 (patch)
treef7899864eb68c59e00240aae505ad2d220184594 /builtin/commit.c
parent029cdb4ab21c49a916efd68eaf2d2431c7fab7c7 (diff)
downloadgit-7521cc4611a783f4a8174bd0fcec5f4a47357ac1.tar.gz
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions