diff options
author | 2014-04-30 09:22:45 -0700 | |
---|---|---|
committer | 2014-09-03 10:04:18 -0700 | |
commit | 7521cc4611a783f4a8174bd0fcec5f4a47357ac1 (patch) | |
tree | f7899864eb68c59e00240aae505ad2d220184594 /t/t0025-crlf-auto.sh | |
parent | refs.c: make prune_ref use a transaction to delete the ref (diff) | |
download | tgif-7521cc4611a783f4a8174bd0fcec5f4a47357ac1.tar.xz |
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 't/t0025-crlf-auto.sh')
0 files changed, 0 insertions, 0 deletions