[PATCH 20/20] refs.c: make delete_ref use a transaction

2014-08-26 Thread Jonathan Nieder
From: Ronnie Sahlberg sahlb...@google.com Date: Wed, 30 Apr 2014 09:22:45 -0700 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

[PATCH 20/20] refs.c: make delete_ref use a transaction

2014-07-15 Thread Ronnie Sahlberg
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.